/*
 Navicat Premium Dump SQL

 Source Server         : 43.136.77.194腾讯云
 Source Server Type    : MySQL
 Source Server Version : 80036 (8.0.36)
 Source Host           : 43.136.77.194:3306
 Source Schema         : zapi-allin

 Target Server Type    : MySQL
 Target Server Version : 80036 (8.0.36)
 File Encoding         : 65001

 Date: 13/11/2025 10:47:39
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for ai_chat_history
-- ----------------------------
DROP TABLE IF EXISTS `ai_chat_history`;
CREATE TABLE `ai_chat_history` (
  `id` varchar(64) NOT NULL COMMENT '主键ID',
  `user_id` varchar(64) NOT NULL COMMENT '用户ID',
  `session_id` varchar(64) NOT NULL COMMENT '会话ID',
  `role` varchar(20) NOT NULL COMMENT '角色：user/assistant/system',
  `content` text COMMENT '消息内容',
  `images` text COMMENT '图片列表（JSON数组）',
  `files` text COMMENT '文件列表（JSON数组）',
  `model` varchar(50) DEFAULT NULL COMMENT '使用的AI模型',
  `tokens` int DEFAULT NULL COMMENT '消耗的token数',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `idx_user_id` (`user_id`),
  KEY `idx_session_id` (`session_id`),
  KEY `idx_create_time` (`create_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='AI聊天历史记录';

-- ----------------------------
-- Records of ai_chat_history
-- ----------------------------
BEGIN;
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('06b76abbd3300357db47fe8fe7e112df', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'assistant', '很抱歉，创建表单时遇到了一点小问题！\n\n这个 **HTTP 400 错误（Bad Request）** 通常表示发送给服务器的请求中缺少必要信息，或者某些字段的格式不符合要求。比如：\n\n- 表单名称为空或未提供；\n- 默认字段的结构不正确（例如缺少字段类型、标识符等）；\n- 请求的数据格式不是有效的 JSON。\n\n✅ **建议您这样操作：**\n1. 检查是否填写了表单名称；\n2. 确保默认字段的格式正确（每个字段应包含如 `name`、`type` 等必要属性）；\n3. 如果是通过代码或工具调用接口，请确认请求体（body）是合法的 JSON 格式。\n\n如果您是在界面上操作，可以尝试刷新页面后重新填写；如果是开发人员调用 API，建议对照接口文档检查请求参数。\n\n需要我帮您检查具体的请求内容吗？😊', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:09:17');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('0c14a2a9735882665f6f9e4b74858a58', 'default_user', '64358a09-8518-41d0-99ec-d140b2a2bb03', 'user', '你好 你是什么模型', NULL, NULL, 'qwen3-max', 0, '2025-10-17 14:20:13');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('11b6c6092c9aa6a6881cd01b42edf30c', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'assistant', '表单信息已成功创建！  \n系统已为您生成唯一标识 ID：`e4f3452d05806fe006214ba6af18ce59`，可用于后续查询或管理。如有需要，可随时使用该 ID 进行操作。\n\n---\n**🤖 AI自动补全的信息：**\n• formName：`新建表单`\n• 状态：`1`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:03:16');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('191494f3a6ed48ca690fe9ce260f0e5c', 'default_user', '3044138d-97a5-4a8d-87a2-e13fce678093', 'assistant', '您好！已为您查询当前用户的待办任务。\n\n目前您**没有待办任务**，所有事项都已完成！🎉  \n如需创建新任务，可随时进行操作。\n\n---\n**🤖 AI自动补全的信息：**\n• assignee：`currentUser`\n• pageNum：`1`\n• pageSize：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:10:46');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('1cc2575289a25ccbbd92268fc9e5d7fd', 'default_user', 'ff22a6eb-62c0-45a3-8892-a39d6e79fc70', 'assistant', '操作成功！当前系统中共有 **3 个角色**，详情如下：\n\n| 角色名称     | 角色编码       | 状态   | 描述             |\n|--------------|----------------|--------|------------------|\n| 超级管理员   | SUPER_ADMIN    | 启用   | 系统超级管理员   |\n| 管理员       | ADMIN          | 启用   | 系统管理员       |\n| 普通用户     | USER           | 启用   | 普通用户         |\n\n所有角色均已启用，如需进一步操作（如编辑、停用或分配权限），可随时告诉我！\n\n---\n**🤖 AI自动补全的信息：**\n• current：`1`\n• size：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-17 12:26:46');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('1d7ec2adb787df080837fd6757e84f13', 'default_user', 'a32108bb-2908-4a72-8566-9bdc4adec04d', 'assistant', '当然可以！以下是一个示例用户信息（虚构，仅用于演示或测试用途）：\n\n---\n\n**用户名（Username）：** li_ming88  \n**真实姓名（Full Name）：** 李明  \n**性别（Gender）：** 男  \n**出生日期（Date of Birth）：** 1990年5月15日  \n**手机号码（Phone Number）：** 138-1234-5678  \n**电子邮箱（Email）：** liming@example.com  \n**所在地区（Location）：** 中国·北京市朝阳区  \n**注册时间（Registration Date）：** 2023年11月10日  \n**用户状态（Status）：** 激活  \n**用户角色（Role）：** 普通用户  \n**备注（Notes）：** 无  \n\n---\n\n如果您有特定需求（如用于测试、注册表单、数据库填充等），可以告诉我以下信息，我可以按需定制：\n\n- 所需字段（如是否需要身份证号、地址、头像URL等）  \n- 地域（中国、美国或其他国家）  \n- 年龄范围  \n- 性别偏好  \n- 是否需要符合某种格式（如JSON、CSV、SQL INSERT等）\n\n例如，您可以说：“生成一个用于电商系统的中国女性用户信息，包含收货地址和JSON格式。” 我会立即为您生成。', NULL, NULL, 'qwen3-max', 150, '2025-11-05 10:30:10');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('1f75588115665fbe6e52f32aa3b89062', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'assistant', '很抱歉，表单提交失败了 😕\n\n从系统返回的信息来看，这是一个 **“Bad Request”（错误请求）**，通常意味着提交的数据格式或内容不符合后端接口的要求。常见原因包括：\n\n- 必填字段缺失（比如姓名、手机号等未填写）  \n- 某些字段格式不正确（例如邮箱、身份证号格式有误）  \n- 提交了系统不识别的字段或数据类型  \n- 表单结构与接口期望的格式不一致  \n\n✅ **建议您这样排查：**  \n1. 请检查所有带 * 号的必填项是否都已正确填写；  \n2. 确认手机号、邮箱、身份证等字段是否符合格式要求；  \n3. 如果是通过代码或脚本提交，请核对请求体（body）是否符合接口文档的字段定义；  \n4. 如果是页面操作，可以尝试刷新页面后重新填写提交。\n\n如果问题仍然存在，建议联系系统管理员或开发人员，提供您填写的具体内容（脱敏后），以便进一步定位是哪项数据触发了校验失败。\n\n需要我帮您检查某个具体字段的格式吗？😊', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:06:28');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('244639c03d1d3e4c55add47a2d0f98a5', 'default_user', '8ed908d0-b1e8-47dd-a122-fa1dca3322cc', 'assistant', '以下是一个用于电商系统的中国女性用户信息示例，包含收货地址，并以标准 JSON 格式呈现：\n\n```json\n{\n  \"userId\": \"U20240517001\",\n  \"username\": \"李婉婷\",\n  \"gender\": \"女\",\n  \"phoneNumber\": \"13812345678\",\n  \"email\": \"liwanting@example.com\",\n  \"birthDate\": \"1992-08-15\",\n  \"registrationDate\": \"2023-11-03\",\n  \"defaultShippingAddress\": {\n    \"recipientName\": \"李婉婷\",\n    \"phoneNumber\": \"13812345678\",\n    \"province\": \"广东省\",\n    \"city\": \"深圳市\",\n    \"district\": \"南山区\",\n    \"streetAddress\": \"科技园南区腾讯大厦B座1205室\",\n    \"postalCode\": \"518057\",\n    \"isDefault\": true\n  }\n}\n```\n\n说明：\n- 所有字段均为模拟数据，符合中国常见命名和地址格式；\n- 地址层级遵循“省 → 市 → 区 → 街道详细地址”结构；\n- 电话号码和邮箱为虚构，仅用于测试或演示用途；\n- 可根据实际电商系统需求扩展更多字段（如会员等级、收货偏好等）。', NULL, NULL, 'qwen3-max', 150, '2025-11-07 11:33:14');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('2bc8c486aac2c678c9286ec1250c1047', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'user', '导出用户数据', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:02:06');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('2c9bad9d0a3cef0465a3cfb1da5b99e3', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'user', '新增表单，包含字段：ID、用户名、真实姓名、邮箱、手机号、性别、状态、部门ID、角色ID、创建时间', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:06:01');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('2ebf68e55b1da4907aec6bafc917bdf3', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'assistant', '✅ 已为您生成用户数据导出文件！\n\n📁 **文件名称**：`users_export_20251029_180523.xlsx`  \n📊 **包含字段**：ID、用户名、真实姓名、邮箱、手机号、性别、状态、部门ID、角色ID、创建时间  \n👥 **记录总数**：7 条用户数据（与当前系统用户列表一致）  \n🕒 **导出时间**：2025-10-29 18:05:23\n\n📥 **下载链接**：[点击下载 users_export_20251029_180523.xlsx](#)（模拟链接，实际系统中将触发文件下载）\n\n> 💡 提示：  \n> - 导出格式为 **Excel (.xlsx)**，兼容 WPS / Microsoft Excel  \n> - 敏感信息（如密码）**不会包含**在导出文件中，确保数据安全  \n> - 如需导出为 CSV 或仅导出部分字段（如仅导出姓名和邮箱），请告诉我！\n\n是否还需要同时导出 **部门数据** 或 **用户-部门关联信息**？', NULL, NULL, 'qwen3-max', 150, '2025-10-29 18:02:15');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('30157597d43c1a8c9042e626dc175469', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'user', '查看最新的系统日志', NULL, NULL, 'qwen3-max', 0, '2025-10-29 17:59:40');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('305150c4e3b3258f7a7442234e3d10e4', 'default_user', 'a3c17922-1dec-4bf3-8500-165983936d6f', 'assistant', '您好！已为您查询当前用户的待办任务。\n\n目前您**没有待办任务**，任务列表为空。  \n如果后续有新的任务，它们会显示在这里哦！\n\n---\n**🤖 AI自动补全的信息：**\n• assignee：`currentUser`\n• pageNum：`1`\n• pageSize：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-17 12:27:25');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('332ccacc47aebedd6af461e20b971eda', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'user', '刚才的数据用表格展示', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:00:50');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('3622075eb08ec935cfbe9b53ddb952b8', 'default_user', 'd4631a5a-fd4f-4d5f-984f-bd4a19fb1997', 'user', '帮我添加一个小柒的用户', NULL, NULL, 'qwen3-max', 0, '2025-10-17 18:00:26');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('3fa60779791012f726ba21fe3e0f2874', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'assistant', '看起来新建表单时遇到了一点小问题 😊\n\n系统返回了 **HTTP 400 错误（Bad Request）**，这通常意味着发送给服务器的请求中缺少必要信息，或者某些数据格式不符合要求。比如：\n\n- 表单名称为空或格式不正确  \n- 必填字段（如字段名、类型等）没有提供  \n- 提交的数据结构不符合接口预期（例如 JSON 格式有误）\n\n✅ **建议您这样操作：**  \n1. 检查表单中是否填写了所有必填项（比如表单名称、字段定义等）  \n2. 确保字段名称不包含特殊字符或空格  \n3. 如果是通过代码或工具提交，请核对请求体（body）是否符合 API 文档要求的格式  \n\n如果您是在界面上操作，可以尝试刷新页面后重新填写；如果是开发人员调用接口，建议对照接口文档检查请求参数。\n\n需要我帮您看看具体的表单内容是否符合规范吗？欢迎贴出来（记得脱敏哦）！', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:07:21');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('47a68bd44e8a871f8d5d17667caf5825', 'default_user', '0e50c4c3-042b-444a-97ac-99f0f33de202', 'user', '帮我新增一个老六的用户', NULL, NULL, 'qwen3-max', 0, '2025-10-17 16:39:50');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('4e734c89066a733e88b9908299d9d120', 'default_user', 'ff22a6eb-62c0-45a3-8892-a39d6e79fc70', 'assistant', '添加成功！用户“王五”已成功添加。\n\n---\n**🤖 AI自动补全的信息：**\n• 用户名：`wangwu`\n• 密码：`WangWu@123` ⚠️ *请首次登录后修改*\n• 邮箱：`wangwu@example.com`\n• 手机号：`13800138002`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-17 12:25:58');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('4ef3a11fd96e6f10dfd026cc540adf7f', 'default_user', '72bb04f9-5fc0-4d2f-8599-dcf1e0f39952', 'user', '介绍下你自己', NULL, NULL, 'qwen3-max', 0, '2025-10-17 20:45:53');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('4f5ccf8784225431f8bf579e029ecd9b', 'default_user', '815ad443-efe5-4cc8-9228-d79df7a194b2', 'assistant', '✅ 操作成功！系统中当前共有 **8 位用户**，以下是详细列表：\n\n| ID | 用户名     | 真实姓名 | 邮箱                  | 手机号         | 性别 | 状态 | 创建时间           |\n|----|------------|----------|-----------------------|----------------|------|------|--------------------|\n| 1  | admin      | ADMIN    | admin@zapi.com        | 13800138000    | 男   | 正常 | 2025-08-07 09:17   |\n| 2  | zhangsan   | 张三     | zhangsan@zapi.com     | 13800138001    | 男   | 正常 | 2025-08-07 09:17   |\n| 3  | lisi       | 李四     | lisi@zapi.com         | 13800138002    | 女   | 正常 | 2025-08-07 09:17   |\n| 4  | wangwu     | 王五     | wangwu@example.com    | 13800138002    | 未知 | 正常 | 2025-10-17 12:25   |\n| 5  | lao6       | 老六     | lao6@example.com      | 13800138006    | 未知 | 正常 | 2025-10-17 16:39   |\n| 6  | xiaoqi     | 小柒     | xiaoqi@example.com    | 13800138002    | 未知 | 正常 | 2025-10-17 18:00   |\n| 7  | laowang    | 老王     | laowang@example.com   | 13800138002    | 未知 | 正常 | 2025-10-24 13:39   |\n| 8  | testuser   | 测试用户 | testuser@example.com  | 13800138000    | 未知 | 正常 | 2025-10-29 18:10   |\n\n> 💡 说明：\n> - **性别**：1=男，2=女，0=未知  \n> - **状态**：1=正常，0=禁用（当前所有用户均为正常状态）  \n> - 密码字段出于安全考虑未返回  \n\n如需进一步操作某位用户（如编辑、禁用等），可告知我具体用户名或ID！\n\n---\n**🤖 AI自动补全的信息：**\n• current：`1`\n• size：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-11-04 01:21:28');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('4fc0a2b0322857f3e0b842fa640f76c1', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'user', '新增表单，表单名称测试表单，包含字段：ID、用户名、真实姓名、邮箱、手机号、性别、状态、部门ID、角色ID、创建时间', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:05:12');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('5031f546063f0c4d7afa7ae7f74bf1a0', 'default_user', '3044138d-97a5-4a8d-87a2-e13fce678093', 'user', '添加用户测试', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:10:51');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('5fc0834d2bcbba8edf52d1a58058083c', 'default_user', 'a3c17922-1dec-4bf3-8500-165983936d6f', 'user', '查看我的待办任务', NULL, NULL, 'qwen3-max', 0, '2025-10-17 12:27:16');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('64b018b73edb7734eeb736911d63e733', 'default_user', 'f9585268-52e9-4654-a654-74da6e302211', 'user', '帮我添加一个老王的用户', NULL, NULL, 'qwen3-max', 0, '2025-10-24 13:39:33');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('688af59455457f84050e6b4a99ce5e56', 'default_user', 'a32108bb-2908-4a72-8566-9bdc4adec04d', 'user', '帮助生成一个用户信息', NULL, NULL, 'qwen3-max', 0, '2025-11-05 10:29:56');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('6cdecd8c920df07e7d170f9157975c00', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'user', '查看部门列表', NULL, NULL, 'qwen3-max', 0, '2025-10-29 17:59:10');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('701d1d7e41c9bbbd06bfc4f524803cf2', 'default_user', '7ec4ad45-0410-47cf-a48e-3ed0d85a8711', 'user', '666', NULL, NULL, 'qwen3-max', 0, '2025-10-25 22:18:15');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('7a4bcbd35c7fb152fe5247babf47f707', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'user', '查看所有用户', NULL, NULL, 'qwen3-max', 0, '2025-10-29 17:58:19');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('7b6682f3575779e962c0d7c305904628', 'default_user', '55a50e2a-82f0-41fe-a35c-a67bf647c6be', 'assistant', '好的！这里有几个不同风格的海边吹风朋友圈文案，你可以根据心情和照片氛围选一个：\n\n**1. 治愈系 (适合宁静、放空时刻)：**\n\n> 🌊 风从海上来，吹散所有烦扰。\n> 心，被浪花轻轻熨平了。\n> #海边发呆 #听风看海\n\n**2. 文艺感 (带点诗意和哲思)：**\n\n> 咸涩的风，卷走思绪的尘埃。\n> 海平线之外，是自由的方向。\n> 今日份的治愈，来自这片蔚蓝。💙\n\n**3. 简洁慵懒风 (适合随手拍、日常感)：**\n\n> 吹吹海风，放空一下。\n> 浪声是最好的白噪音。🌊\n\n**4. 带点小情绪/感慨 (适合有心事或思考时)：**\n\n> 海风很大，吹得眼睛有点酸。\n> 但没关系，浪会带走所有不开心。\n> (或者：但吹吹风，好像也没那么糟了。)\n\n**5. 活泼享受型 (适合开心、度假状态)：**\n\n> 报告！今日份快乐已充值成功！\n> 来源：海风 + 浪花 + 阳光 = 满格好心情！☀️🌊\n\n**6. 带点小浪漫/遐想：**\n\n> 赤脚踩在沙滩上，任海风撩乱头发。\n> 这一刻，只想做海的女儿。🧜‍♀️\n\n**7. 万能百搭短句：**\n\n> 听，海风在唱歌。\n> 看，浪花在跳舞。\n> 我，在发呆。🌊\n\n**选择小贴士：**\n\n*   **看照片氛围：** 是宁静的日落？热闹的白天？还是独自一人的背影？选匹配的文案。\n*   **看你想表达什么：** 是纯粹分享美景？表达放松？有点小感慨？还是记录快乐？\n*   **加个表情更生动：** 🌊☀️💙🧜‍♀️🌴 (海浪、太阳、蓝色心、美人鱼、棕榈树都很配)\n*   **加个定位：** 如果是在特别的海滩，加上地点更有意义。\n\n**举个栗子：**\n如果你拍了一张夕阳下独自坐在沙滩上的背影，海风把头发吹起来，可以选 **1** 或 **4**。\n如果你和朋友在白天开心地玩水、大笑，可以选 **5**。\n\n选一个最戳中你此刻感觉的吧！祝你海边吹风愉快！', NULL, NULL, 'qwen3-max', 150, '2025-10-17 16:45:02');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('7cb998f881453abc15db03366e04a522', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'user', '新建表单信息，默认提供几个字段，不要空白表单', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:09:05');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('7d1bfba0773ad11fade6a22d79ceceb9', 'default_user', '72bb04f9-5fc0-4d2f-8599-dcf1e0f39952', 'assistant', '你好！我是你的后台管理系统AI助手，专门为你提供高效、便捷的操作支持。我可以帮你：\n\n- **查询系统数据**（如用户信息、订单状态、日志记录等）  \n- **执行管理操作**（如审核内容、处理工单、配置权限等）  \n- **解答操作疑问**（如功能使用、流程指引、错误排查等）  \n- **生成快捷指令**（如批量导出、定时任务设置等）  \n\n比如你可以直接告诉我：  \n▸ “查看昨天的订单统计”  \n▸ “如何重置用户的登录密码？”  \n▸ “导出本月所有用户注册列表”  \n\n我会用最简洁的方式给你可执行的方案或结果。有什么需要帮忙的吗？ 😊', NULL, NULL, 'qwen3-max', 150, '2025-10-17 20:45:59');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('9614fefac733866be86087bb1cf891e7', 'default_user', '0e50c4c3-042b-444a-97ac-99f0f33de202', 'assistant', '添加成功！用户“老六”已成功添加到系统中。\n\n---\n**🤖 AI自动补全的信息：**\n• 用户名：`lao6`\n• 密码：`LaoLiu@123456` ⚠️ *请首次登录后修改*\n• 邮箱：`lao6@example.com`\n• 手机号：`13800138006`\n• 状态：`1`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-17 16:39:57');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('99a4d29d581100b5ff2b013ca9bd9550', 'default_user', 'ff22a6eb-62c0-45a3-8892-a39d6e79fc70', 'user', '帮我查看角色列表', NULL, NULL, 'qwen3-max', 0, '2025-10-17 12:26:38');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('9aa20839f58eeb8527b2274277523174', 'default_user', '7ec4ad45-0410-47cf-a48e-3ed0d85a8711', 'assistant', '您好！看到您输入了“666”，在中文网络用语中这通常表示“厉害”、“牛”的意思 😊  \n请问您是想表达赞赏，还是需要帮助处理某个具体问题？比如：\n\n- 查询订单/用户数据？\n- 配置系统功能？\n- 解决技术问题？\n- 其他操作？\n\n请随时告诉我您的需求，我会尽力协助！', NULL, NULL, 'qwen3-max', 150, '2025-10-25 22:18:19');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('a1715b0266689480f5f42e53e3805f2f', 'default_user', 'a64cea13-78b9-4ed2-8736-2626bd13a124', 'assistant', '1➕1 等于 2。😊', NULL, NULL, 'qwen3-max', 150, '2025-10-17 16:38:11');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('a29a455512de5cb3cf06db68d9ca312b', 'default_user', '3044138d-97a5-4a8d-87a2-e13fce678093', 'user', '查看我的待办任务', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:10:39');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('a2f3db08cb575d098672b5873cf75f00', 'default_user', '815ad443-efe5-4cc8-9228-d79df7a194b2', 'user', '查看所有用户', NULL, NULL, 'qwen3-max', 0, '2025-11-04 01:21:11');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('a3029c48cb99ae2cf0e0111dd774a0d5', 'default_user', 'd4631a5a-fd4f-4d5f-984f-bd4a19fb1997', 'assistant', '添加成功！用户“小柒”已成功添加到系统中。\n\n---\n**🤖 AI自动补全的信息：**\n• 用户名：`xiaoqi`\n• 密码：`XiaoQi@123` ⚠️ *请首次登录后修改*\n• 邮箱：`xiaoqi@example.com`\n• 手机号：`13800138002`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-17 18:00:31');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('a4718586ed227c1d82f89cd9a1203072', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'assistant', '当然可以！以下是您刚才请求的 **最新系统日志**，以清晰的表格形式完整展示：\n\n| 时间 | 用户 | 操作 | 来源 IP | 耗时 (ms) |\n|------|------|------|--------|----------|\n| 2025-10-29 17:59:20 | admin | AI 聊天（发送消息：“查看部门列表”） | 121.33.197.54 | 9378 |\n| 2025-10-29 17:59:15 | admin | 获取部门列表 | 127.0.0.1 | 12 |\n| 2025-10-29 17:58:43 | admin | AI 聊天（发送消息：“查看所有用户”） | 121.33.197.54 | 23907 |\n| 2025-10-29 17:58:24 | admin | 查询用户列表 | 127.0.0.1 | 12 |\n| 2025-10-29 17:58:11 | admin | 获取用户菜单 / 权限 / AI 聊天历史 | 121.33.197.54 | 6~15 |\n| 2025-10-29 17:58:11 | anonymous | 用户登录（用户名：admin） | 121.33.197.54 | 107 |\n| 2025-10-29 09:04:12 | admin | 查询工作流实例 | 175.0.227.77 | 107 |\n\n> ✅ 此为系统最近 **7 条** 日志记录（按时间倒序排列）。  \n> 如需导出、筛选（如按用户、IP 或操作类型）或查看更多条目，请告诉我！', NULL, NULL, 'qwen3-max', 150, '2025-10-29 18:01:06');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('b46696c43cc8c1a7041af79e460fc109', 'default_user', '55a50e2a-82f0-41fe-a35c-a67bf647c6be', 'user', '帮我想一段海边吹风的朋友圈文案', NULL, NULL, 'qwen3-max', 0, '2025-10-17 16:44:33');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('c5f51448d0fee83fbf62d9c8545a7633', 'default_user', '64358a09-8518-41d0-99ec-d140b2a2bb03', 'assistant', '你好！我是通义千问（Qwen），是阿里巴巴集团自主研发的超大规模语言模型。我能够回答问题、创作文字，比如写故事、写公文、写邮件、写剧本、逻辑推理、编程等等，还能表达观点，玩游戏等。\n\n如果你有任何问题或需要帮助，欢迎随时告诉我！😊', NULL, NULL, 'qwen3-max', 150, '2025-10-17 14:20:21');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('cbb84ba2f5b8443e02bcda0fd68ab651', 'default_user', 'ff22a6eb-62c0-45a3-8892-a39d6e79fc70', 'user', '帮我添加一个王五的用户', NULL, NULL, 'qwen3-max', 0, '2025-10-17 12:25:50');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('ccafb340b74c6f49d60de57fb0d2ee09', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'assistant', '✅ 操作成功！系统中当前共有 **7 位用户**，以下是详细信息：\n\n| ID | 用户名     | 真实姓名 | 邮箱                  | 手机号         | 性别 | 状态 | 部门ID | 角色ID | 创建时间           |\n|----|------------|----------|-----------------------|----------------|------|------|--------|--------|--------------------|\n| 1  | admin      | ADMIN    | admin@zapi.com        | 13800138000    | 男   | 正常 | 1      | 1      | 2025-08-07 09:17:40 |\n| 2  | zhangsan   | 张三     | zhangsan@zapi.com     | 13800138001    | 男   | 正常 | 2      | 2      | 2025-08-07 09:17:40 |\n| 3  | lisi       | 李四     | lisi@zapi.com         | 13800138002    | 女   | 正常 | 3      | 3      | 2025-08-07 09:17:40 |\n| 4  | wangwu     | 王五     | wangwu@example.com    | 13800138002    | 未知 | 正常 | —      | —      | 2025-10-17 12:25:58 |\n| 5  | lao6       | 老六     | lao6@example.com      | 13800138006    | 未知 | 正常 | —      | —      | 2025-10-17 16:39:56 |\n| 6  | xiaoqi     | 小柒     | xiaoqi@example.com    | 13800138002    | 未知 | 正常 | —      | —      | 2025-10-17 18:00:31 |\n| 7  | laowang    | 老王     | laowang@example.com   | 13800138002    | 未知 | 正常 | —      | —      | 2025-10-24 13:39:39 |\n\n> 💡 **说明**：\n> - **性别**：1=男，2=女，0=未知\n> - **状态**：1=正常（所有用户当前均为正常状态）\n> - 部门ID 和 角色ID 为 `null` 的用户暂未分配部门或角色\n\n如需进一步操作（如编辑、删除或分配角色/部门），请告诉我！\n\n---\n**🤖 AI自动补全的信息：**\n• current：`1`\n• size：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-29 17:58:43');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('d24c901cabf28319e1298962d0cd1ae6', 'default_user', '8ed908d0-b1e8-47dd-a122-fa1dca3322cc', 'user', '生成一个用于电商系统的中国女性用户信息，包含收货地址和JSON格式。', NULL, NULL, 'qwen3-max', 0, '2025-11-07 11:33:03');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('d38e50d1b5d8782fa01d33b012950bd8', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'assistant', '✅ 部门列表获取成功！当前共有 **4 个部门**，详情如下：\n\n| 部门名称 | 部门编码 | 上级部门 | 负责人 | 描述 |\n|----------|----------|----------|--------|------|\n| 总公司   | HQ       | —        | 张三   | 总公司 |\n| 技术部   | TECH     | 总公司   | 李四   | 技术部门 |\n| 人事部   | HR       | 总公司   | 王五   | 人事部门 |\n| 财务部   | FINANCE  | 总公司   | 赵六   | 财务部门 |\n\n所有部门状态均为启用，数据已同步至最新。\n\n---\n**🤖 AI自动补全的信息：**\n• current：`1`\n• size：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-29 17:59:20');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('d50e7911fded23a7abed871753495e4d', 'default_user', 'a64cea13-78b9-4ed2-8736-2626bd13a124', 'user', '1➕1等于几', NULL, NULL, 'qwen3-max', 0, '2025-10-17 16:38:08');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('d8bd56ac70a68a51760222e60e7b5b0c', 'default_user', '3044138d-97a5-4a8d-87a2-e13fce678093', 'assistant', '添加测试用户成功啦！🎉  \n系统已成功创建该用户，您可以继续后续操作了。\n\n---\n**🤖 AI自动补全的信息：**\n• 用户名：`testuser`\n• 密码：`Test@123456` ⚠️ *请首次登录后修改*\n• 真实姓名：`测试用户`\n• 邮箱：`testuser@example.com`\n• 手机号：`13800138000`\n• 状态：`1`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:10:57');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('d93d36db9ecb1738ee78ec0abb33d591', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'user', '新建表单信息', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:03:09');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('e069de8cba300786e6df1b47133e6ba7', 'default_user', '0ca8542b-50c3-4fff-885e-c16cee7b2413', 'assistant', '当前项目 **知录Admin** 是一个**集成 AI 助手的智能后台管理系统**，主打“**简单、可视化、AI 赋能**”三大核心理念，旨在降低企业后台系统的使用和开发门槛，尤其适合需要快速搭建审批流、表单系统或轻量级业务中台的场景。\n\n---\n\n### 🌟 项目亮点\n\n1. **自研超简工作流引擎**  \n   - 无需 BPMN，全程使用 **JSON 配置流程**，上手快、维护简单。\n   - 支持审批节点、条件分支，可视化拖拽设计。\n   - 支持两种发起方式：**业务表单**（用户自定义）和**系统表单**（内置测试用例）。\n\n2. **全可视化低代码设计**\n   - **表单设计器**：支持输入框、下拉、日期、多选等常见字段，所见即所得。\n   - **表格设计器**：自定义列表展示字段与样式。\n   - **流程设计器**：图形化配置审批人（用户/部门/角色）、流转逻辑。\n\n3. **AI 智能助手（通义千问 Qwen3-Max）**\n   - 可通过自然语言操作整个系统（如：“帮我创建一个请假流程”）。\n   - 自动识别意图、补全参数、调用 API。\n   - 对话历史持久化，支持上下文理解。\n\n4. **灵活的数据集成能力**\n   - 支持多数据源（MySQL、PostgreSQL 等）。\n   - 可创建数据集，直接对接业务表，实现数据驱动表单与流程。\n\n5. **完整系统管理模块**\n   - 用户、部门、角色、菜单、日志等标准后台功能齐全。\n   - 权限体系完善，支持 RBAC 模型。\n\n6. **文档与文件管理**\n   - 集成 **OnlyOffice 7.3.3**，支持在线编辑 Word/Excel/PPT。\n   - 文件上传、下载、格式转换一体化。\n\n---\n\n### 🛠 技术栈\n\n- **后端**：Java 8 + Spring Boot 2.7.18 + MyBatis Plus + MySQL 8\n- **前端**：Vue 3 + Element Plus + Vite\n- **AI 引擎**：阿里云通义千问（Qwen3-Max）\n- **架构**：Maven 多模块，高内聚低耦合，易于扩展\n\n---\n\n### ✅ 当前进展\n\n- **已完成**：工作流核心、表单/流程设计器、AI 助手、系统管理、文档/文件模块。\n- **开发中**：专属业务表单发起优化、更多节点类型（如会签、抄送）。\n- **未来规划**：增强零代码能力，支持更多自动化场景。\n\n---\n\n### 💼 典型应用场景\n\n- 员工请假/报销审批\n- 采购/合同多级审核\n- 客户反馈收集与处理\n- 内部工单系统\n- 快速原型验证（MVP）\n\n---\n\n如果你是开发者，可以快速二次开发；如果你是业务人员，也能通过 AI 或可视化工具自助配置流程——**真正实现“人人都是开发者”**。\n\n需要我帮你演示某个功能（比如创建一个请假流程），或者解释某部分技术实现吗？😊', NULL, NULL, 'qwen3-max', 300, '2025-10-17 12:29:46');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('e1c6e9a91a55fb253a28f6887c1f6d4d', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'assistant', '✅ 查询成功！当前共获取到 **10 个菜单项**（系统中共有 36 个，分 4 页显示）。\n\n以下是本次返回的菜单列表（按层级和排序整理后更易读）：\n\n### 一级菜单（parentId = 0）\n- **任务中心**  \n  路径：`/taskcenter`｜图标：⏰ AlarmClock｜状态：启用｜可见：是\n\n- **工作流管理**  \n  路径：`/workflow`｜图标：🖥️ Monitor｜状态：启用｜可见：是\n\n---\n\n### 二级菜单（属于上级菜单的子项）\n\n#### ▶ 属于「任务中心」（id=34）\n- **全部任务**  \n  路径：`/taskcenter/all`｜组件：`taskcenter/all/index`｜可见：是\n\n#### ▶ 属于「工作流管理」（id=24）\n- **流程列表**  \n  路径：`/workflow/list`｜组件：`workflow/list/index`｜可见：是\n\n#### ▶ 属于其他父级（部分父菜单未在本页返回）\n- **数据配置**（父ID=7）→ 路径：`/dataset/index`｜**不可见**\n- **数据集管理**（父ID=7）→ 路径：`/dataset/manage`｜**不可见**\n- **表格列表**（父ID=30）→ 路径：`/sheet/list`｜**不可见**\n- **表单列表**（父ID=27）→ 路径：`/form`｜可见：是\n- **系统日志**（父ID=1）→ 路径：`/monitor/log`｜可见：是\n- **数据分析**（父ID=9）→ 路径：`/analytics`｜**不可见**\n\n> 💡 提示：部分菜单的 `visible` 字段为 0，表示对普通用户隐藏，通常用于后台或管理员功能。\n\n如需查看其他页面的菜单、筛选可见菜单，或了解某个菜单的详细信息，请告诉我！\n\n---\n**🤖 AI自动补全的信息：**\n• current：`1`\n• size：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:10:02');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('e61126b1d72700ac7fe76ad4d2899ca2', 'default_user', '0ca8542b-50c3-4fff-885e-c16cee7b2413', 'user', '介绍一下当前项目', NULL, NULL, 'qwen3-max', 0, '2025-10-17 12:29:25');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('ea5753db7862435d3c067bcb1ef27bc0', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'assistant', '看起来创建表单时遇到了一点小问题 😊\n\n系统返回了 **HTTP 400 错误（Bad Request）**，这通常意味着提交的数据格式或内容不符合接口的要求。可能的原因包括：\n\n- 表单名称或字段信息缺失或格式不正确  \n- 某些必填参数没有提供  \n- 字段类型、标识符等不符合规范（比如使用了特殊字符或重复的字段名）\n\n✅ **建议您检查以下几点：**\n1. 确保“测试表单”这个名称没有特殊字符或空格问题（虽然一般允许，但某些系统有限制）  \n2. 确认您添加的字段是否都提供了必要的属性（如字段名、类型等）  \n3. 检查是否有重复的字段标识（比如两个字段都叫“姓名”）  \n\n如果您是通过页面操作的，可以尝试刷新页面后重新填写；如果是调用接口，请核对请求体（body）是否符合 API 文档要求。\n\n需要的话，也可以把您填写的具体字段内容发给我，我帮您看看哪里可能有问题！', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:05:33');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('fa3ee6c4e91a2efb85c7bbdbb7722218', 'default_user', 'f9585268-52e9-4654-a654-74da6e302211', 'assistant', '添加成功！用户“老王”已成功添加到系统中。\n\n---\n**🤖 AI自动补全的信息：**\n• 用户名：`laowang`\n• 密码：`LaoWang@123` ⚠️ *请首次登录后修改*\n• 邮箱：`laowang@example.com`\n• 手机号：`13800138002`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-24 13:39:39');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('fb29aeaf44d646bb99723abf3ec2788b', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'user', '查询菜单列表', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:09:31');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('fc0c929199342de8d361ddf6414996c1', 'default_user', '6660c4bb-3cf0-43ef-a5fc-b98055b3f539', 'assistant', '已成功获取最新的系统日志！以下是最近的操作记录摘要：\n\n| 时间 | 用户 | 操作 | 来源 IP | 耗时 (ms) |\n|------|------|------|--------|----------|\n| 2025-10-29 17:59:20 | admin | AI 聊天（发送消息：“查看部门列表”） | 121.33.197.54 | 9378 |\n| 2025-10-29 17:59:15 | admin | 获取部门列表 | 127.0.0.1 | 12 |\n| 2025-10-29 17:58:43 | admin | AI 聊天（发送消息：“查看所有用户”） | 121.33.197.54 | 23907 |\n| 2025-10-29 17:58:24 | admin | 查询用户列表 | 127.0.0.1 | 12 |\n| 2025-10-29 17:58:11 | admin | 获取用户菜单 / 权限 / AI 聊天历史 | 121.33.197.54 | 6~15 |\n| 2025-10-29 17:58:11 | anonymous | 用户登录（用户名：admin） | 121.33.197.54 | 107 |\n| 2025-10-29 09:04:12 | admin | 查询工作流实例 | 175.0.227.77 | 107 |\n\n💡 **小提示**：\n- 最近有多次通过 **AI 助手** 进行操作（如查看用户、部门等），说明您正在高效使用智能功能！\n- 所有操作均 **执行成功**（无错误日志）。\n- 系统当前共有 **360 条日志**，本次显示最新 10 条。\n\n如需查看更多日志或筛选特定操作，可随时告诉我！ 😊\n\n---\n**🤖 AI自动补全的信息：**\n• current：`1`\n• size：`10`\n\n💡 *这些信息由AI自动生成，您也可以明确指定*', NULL, NULL, 'qwen3-max', 200, '2025-10-29 18:00:08');
INSERT INTO `ai_chat_history` (`id`, `user_id`, `session_id`, `role`, `content`, `images`, `files`, `model`, `tokens`, `create_time`) VALUES ('fe0539f1166b6efdf1bc366e45c367f5', 'default_user', 'e838e98a-8a6c-4060-a1b5-2d7bd869ef3b', 'user', '新建表单信息，包含字段：ID、用户名、真实姓名、邮箱、手机号、性别、状态、部门ID、角色ID、创建时间', NULL, NULL, 'qwen3-max', 0, '2025-10-29 18:07:01');
COMMIT;

-- ----------------------------
-- Table structure for ai_chat_session
-- ----------------------------
DROP TABLE IF EXISTS `ai_chat_session`;
CREATE TABLE `ai_chat_session` (
  `id` varchar(64) NOT NULL COMMENT '会话ID',
  `user_id` varchar(64) NOT NULL COMMENT '用户ID',
  `title` varchar(200) DEFAULT NULL COMMENT '会话标题',
  `last_message_time` datetime DEFAULT NULL COMMENT '最后消息时间',
  `message_count` int DEFAULT '0' COMMENT '消息数量',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_user_id` (`user_id`),
  KEY `idx_update_time` (`update_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='AI聊天会话';

-- ----------------------------
-- Records of ai_chat_session
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for bu_zapi_06327a1aec4c676b50043db53a168888
-- ----------------------------
DROP TABLE IF EXISTS `bu_zapi_06327a1aec4c676b50043db53a168888`;
CREATE TABLE `bu_zapi_06327a1aec4c676b50043db53a168888` (
  `id` bigint NOT NULL COMMENT '主键id',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_user` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `update_user` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人',
  `is_deleted` int DEFAULT '0' COMMENT '删除标识',
  `field_input_5vm3s66k0` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '姓名',
  `field_textarea_ny9feh80r` text COLLATE utf8mb4_general_ci COMMENT '描述',
  `field_select_qz6ctxlsn` varchar(1024) COLLATE utf8mb4_general_ci DEFAULT '3' COMMENT '审核人',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='zz0002';

-- ----------------------------
-- Records of bu_zapi_06327a1aec4c676b50043db53a168888
-- ----------------------------
BEGIN;
INSERT INTO `bu_zapi_06327a1aec4c676b50043db53a168888` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_5vm3s66k0`, `field_textarea_ny9feh80r`, `field_select_qz6ctxlsn`) VALUES (1978708455640305666, '2025-10-16 14:23:53', 'external_api', NULL, NULL, 0, '111', '111', '2');
INSERT INTO `bu_zapi_06327a1aec4c676b50043db53a168888` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_5vm3s66k0`, `field_textarea_ny9feh80r`, `field_select_qz6ctxlsn`) VALUES (1978708571952549890, '2025-10-16 14:24:21', 'external_api', NULL, NULL, 0, '222', '222', '1');
COMMIT;

-- ----------------------------
-- Table structure for bu_zapi_09a7d84ade07d5b55d12f53414939d6c
-- ----------------------------
DROP TABLE IF EXISTS `bu_zapi_09a7d84ade07d5b55d12f53414939d6c`;
CREATE TABLE `bu_zapi_09a7d84ade07d5b55d12f53414939d6c` (
  `id` bigint NOT NULL COMMENT '主键id',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `update_user` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人',
  `is_deleted` int DEFAULT '0' COMMENT '删除标识',
  `field_input_8cnzsieaq` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '输入框_919',
  `field_textarea_xwodq2zb2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '多行文本_605',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='新建表单';

-- ----------------------------
-- Records of bu_zapi_09a7d84ade07d5b55d12f53414939d6c
-- ----------------------------
BEGIN;
INSERT INTO `bu_zapi_09a7d84ade07d5b55d12f53414939d6c` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_8cnzsieaq`, `field_textarea_xwodq2zb2`) VALUES (1, '2025-09-28 18:28:49', '1', '2025-09-28 18:28:52', '1', 0, '111', '11111');
INSERT INTO `bu_zapi_09a7d84ade07d5b55d12f53414939d6c` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_8cnzsieaq`, `field_textarea_xwodq2zb2`) VALUES (1972473851119955970, '2025-09-29 09:29:48', 'external_api', NULL, NULL, 0, '张三', '11111');
INSERT INTO `bu_zapi_09a7d84ade07d5b55d12f53414939d6c` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_8cnzsieaq`, `field_textarea_xwodq2zb2`) VALUES (1972588759740329985, '2025-09-29 17:06:24', 'external_api', NULL, NULL, 0, '1212', '12121');
INSERT INTO `bu_zapi_09a7d84ade07d5b55d12f53414939d6c` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_8cnzsieaq`, `field_textarea_xwodq2zb2`) VALUES (1972592402816315393, '2025-09-29 17:20:52', 'external_api', NULL, NULL, 0, '99999', '99999');
INSERT INTO `bu_zapi_09a7d84ade07d5b55d12f53414939d6c` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_8cnzsieaq`, `field_textarea_xwodq2zb2`) VALUES (1972608240453693442, '2025-09-29 18:23:48', 'external_api', NULL, NULL, 0, '666', '666');
INSERT INTO `bu_zapi_09a7d84ade07d5b55d12f53414939d6c` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_8cnzsieaq`, `field_textarea_xwodq2zb2`) VALUES (1977981366792417281, '2025-10-14 14:14:42', 'external_api', NULL, NULL, 0, '李四', '李四去审批');
COMMIT;

-- ----------------------------
-- Table structure for bu_zapi_ac848dbf9c2c9256ae60e2298298d362
-- ----------------------------
DROP TABLE IF EXISTS `bu_zapi_ac848dbf9c2c9256ae60e2298298d362`;
CREATE TABLE `bu_zapi_ac848dbf9c2c9256ae60e2298298d362` (
  `id` bigint NOT NULL COMMENT '主键id',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_user` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `update_user` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人',
  `is_deleted` int DEFAULT '0' COMMENT '删除标识',
  `field_input_pgm4d3sgc` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '输入框_551',
  `field_textarea_e9lq0rw2d` text COLLATE utf8mb4_general_ci COMMENT '多行文本_772',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='新建表单123';

-- ----------------------------
-- Records of bu_zapi_ac848dbf9c2c9256ae60e2298298d362
-- ----------------------------
BEGIN;
INSERT INTO `bu_zapi_ac848dbf9c2c9256ae60e2298298d362` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_pgm4d3sgc`, `field_textarea_e9lq0rw2d`) VALUES (1985272869738786817, '2025-11-03 17:08:31', 'external_api', NULL, NULL, 0, '123', '123');
INSERT INTO `bu_zapi_ac848dbf9c2c9256ae60e2298298d362` (`id`, `create_time`, `create_user`, `update_time`, `update_user`, `is_deleted`, `field_input_pgm4d3sgc`, `field_textarea_e9lq0rw2d`) VALUES (1985272897266003970, '2025-11-03 17:08:38', 'external_api', NULL, NULL, 0, '345', '345');
COMMIT;

-- ----------------------------
-- Table structure for bu_zapi_e4f3452d05806fe006214ba6af18ce59
-- ----------------------------
DROP TABLE IF EXISTS `bu_zapi_e4f3452d05806fe006214ba6af18ce59`;
CREATE TABLE `bu_zapi_e4f3452d05806fe006214ba6af18ce59` (
  `id` bigint NOT NULL COMMENT '主键id',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_user` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `update_user` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人',
  `is_deleted` int DEFAULT '0' COMMENT '删除标识',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='新建表单';

-- ----------------------------
-- Records of bu_zapi_e4f3452d05806fe006214ba6af18ce59
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for contract_info
-- ----------------------------
DROP TABLE IF EXISTS `contract_info`;
CREATE TABLE `contract_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `contract_no` varchar(50) NOT NULL COMMENT '合同编号',
  `contract_name` varchar(200) NOT NULL COMMENT '合同名称',
  `contract_type` varchar(50) DEFAULT NULL COMMENT '合同类型',
  `file_id` bigint DEFAULT NULL COMMENT '合同文件ID（关联文件表）',
  `initiator_id` bigint NOT NULL COMMENT '发起人ID（用户ID）',
  `initiator_name` varchar(100) DEFAULT NULL COMMENT '发起人姓名',
  `contract_status` varchar(20) NOT NULL DEFAULT 'DRAFT' COMMENT '合同状态：DRAFT-草稿，REVIEWING-审核中，PENDING_SIGN-待签署，SIGNED-签署完成，ARCHIVED-归档',
  `contract_amount` decimal(18,2) DEFAULT NULL COMMENT '合同金额',
  `start_date` date DEFAULT NULL COMMENT '合同开始日期',
  `end_date` date DEFAULT NULL COMMENT '合同结束日期',
  `reviewer_id` bigint DEFAULT NULL COMMENT '审核人ID',
  `reviewer_name` varchar(100) DEFAULT NULL COMMENT '审核人姓名',
  `review_time` datetime DEFAULT NULL COMMENT '审核时间',
  `review_comment` varchar(500) DEFAULT NULL COMMENT '审核意见',
  `signer_id` bigint DEFAULT NULL COMMENT '签署人ID',
  `signer_name` varchar(100) DEFAULT NULL COMMENT '签署人姓名',
  `sign_time` datetime DEFAULT NULL COMMENT '签署时间',
  `archive_time` datetime DEFAULT NULL COMMENT '归档时间',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='合同信息表';

-- ----------------------------
-- Records of contract_info
-- ----------------------------
BEGIN;
INSERT INTO `contract_info` (`id`, `contract_no`, `contract_name`, `contract_type`, `file_id`, `initiator_id`, `initiator_name`, `contract_status`, `contract_amount`, `start_date`, `end_date`, `reviewer_id`, `reviewer_name`, `review_time`, `review_comment`, `signer_id`, `signer_name`, `sign_time`, `archive_time`, `remark`, `create_time`, `update_time`) VALUES (4, 'HT20251113612697', '测试合同盖章功能', '测试', 50, 1, NULL, 'DRAFT', 10000.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '2025-11-13 10:02:15', '2025-11-13 10:02:15');
COMMIT;

-- ----------------------------
-- Table structure for contract_sign_info
-- ----------------------------
DROP TABLE IF EXISTS `contract_sign_info`;
CREATE TABLE `contract_sign_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '唯一标识',
  `sign_front_file_id` bigint DEFAULT NULL COMMENT '签署前的文件（关联文件uid）',
  `sign_back_file_id` bigint DEFAULT NULL COMMENT '签署后的文件（关联文件uid）',
  `seal_id` bigint DEFAULT NULL COMMENT '印章id（关联印章信息表id）',
  `cert_id` bigint DEFAULT NULL COMMENT '证书id（关联证书信息表id）',
  `sign_algorithm` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '签署签名算法（常见的RSA，国办SM2）',
  `sign_page` int DEFAULT NULL COMMENT 'pdf签署页码',
  `pdf_page_count` int DEFAULT NULL COMMENT 'pdf总页数',
  `pdf_width` int DEFAULT NULL COMMENT 'pdf宽度',
  `pdf_height` int DEFAULT NULL COMMENT 'pdf高度',
  `coord_x` int DEFAULT NULL COMMENT '坐标x',
  `coord_y` int DEFAULT NULL COMMENT '坐标y',
  `pixel_size` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '像素大小（数值表示例如：100，120，表示宽100px，高120）',
  `sign_time` datetime DEFAULT NULL COMMENT '签署时间',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='合同签署信息表';

-- ----------------------------
-- Records of contract_sign_info
-- ----------------------------
BEGIN;
INSERT INTO `contract_sign_info` (`id`, `sign_front_file_id`, `sign_back_file_id`, `seal_id`, `cert_id`, `sign_algorithm`, `sign_page`, `pdf_page_count`, `pdf_width`, `pdf_height`, `coord_x`, `coord_y`, `pixel_size`, `sign_time`, `create_time`) VALUES (9, 50, NULL, 1, 2, 'SM2', 1, 2, 596, 842, 148, 122, '100x100', '2025-11-13 10:02:40', '2025-11-13 10:02:40');
INSERT INTO `contract_sign_info` (`id`, `sign_front_file_id`, `sign_back_file_id`, `seal_id`, `cert_id`, `sign_algorithm`, `sign_page`, `pdf_page_count`, `pdf_width`, `pdf_height`, `coord_x`, `coord_y`, `pixel_size`, `sign_time`, `create_time`) VALUES (10, 50, NULL, 1, 2, 'SM2', 1, 2, 596, 842, 144, 122, '100x100', '2025-11-13 10:03:39', '2025-11-13 10:03:39');
INSERT INTO `contract_sign_info` (`id`, `sign_front_file_id`, `sign_back_file_id`, `seal_id`, `cert_id`, `sign_algorithm`, `sign_page`, `pdf_page_count`, `pdf_width`, `pdf_height`, `coord_x`, `coord_y`, `pixel_size`, `sign_time`, `create_time`) VALUES (11, 50, NULL, 1, 2, 'SM2', 1, 2, 596, 842, 169, 121, '100x100', '2025-11-13 10:12:05', '2025-11-13 10:12:05');
COMMIT;

-- ----------------------------
-- Table structure for ds_data_source
-- ----------------------------
DROP TABLE IF EXISTS `ds_data_source`;
CREATE TABLE `ds_data_source` (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `db_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '数据库类型',
  `url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '数据库连接URL',
  `username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码',
  `schema_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Schema名称',
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据源表';

-- ----------------------------
-- Records of ds_data_source
-- ----------------------------
BEGIN;
INSERT INTO `ds_data_source` (`id`, `db_type`, `url`, `username`, `password`, `schema_name`, `created_at`, `updated_at`) VALUES (1, 'mysql', 'jdbc:mysql://localhost:3306/zapi_allin?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai', 'root', 'Zlz1121...', 'zapi_allin', '2025-08-07 17:16:19', '2025-08-07 17:16:19');
COMMIT;

-- ----------------------------
-- Table structure for ds_dataset
-- ----------------------------
DROP TABLE IF EXISTS `ds_dataset`;
CREATE TABLE `ds_dataset` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '数据集名称',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '数据集描述',
  `source_table` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '来源表名',
  `data_source_id` bigint DEFAULT NULL COMMENT '数据源ID',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint DEFAULT '0' COMMENT '删除标志 0-未删除 1-已删除',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据集表';

-- ----------------------------
-- Records of ds_dataset
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for form_base_info
-- ----------------------------
DROP TABLE IF EXISTS `form_base_info`;
CREATE TABLE `form_base_info` (
  `id` varchar(36) NOT NULL COMMENT '表单ID',
  `form_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '表单名称',
  `form_description` varchar(1000) DEFAULT NULL COMMENT '表单描述',
  `form_config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '表单配置JSON',
  `status` tinyint DEFAULT '1' COMMENT '表单状态：0-禁用，1-启用',
  `create_by` varchar(64) DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `del_flag` tinyint NOT NULL DEFAULT '0' COMMENT '删除标记：0-未删除，1-已删除',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='表单表';

-- ----------------------------
-- Records of form_base_info
-- ----------------------------
BEGIN;
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('06327a1aec4c676b50043db53a168888', 'zz0002', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"input\",\"label\":\"姓名\",\"name\":\"field_input_5vm3s66k0\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1760595581815_5vm3s66k0\"},{\"type\":\"textarea\",\"label\":\"描述\",\"name\":\"field_textarea_ny9feh80r\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1760595583227_ny9feh80r\"},{\"type\":\"select\",\"label\":\"审核人\",\"name\":\"field_select_qz6ctxlsn\",\"placeholder\":\"请选择\",\"required\":false,\"disabled\":false,\"clearable\":true,\"filterable\":false,\"multiple\":false,\"options\":[{\"label\":\"ADMIN\",\"value\":\"1\"},{\"label\":\"张三\",\"value\":\"2\"},{\"label\":\"李四\",\"value\":\"3\",\"disabled\":false}],\"icon\":\"ArrowDown\",\"defaultValue\":\"3\",\"span\":24,\"id\":\"component_1760595584055_qz6ctxlsn\"}],\"style\":{}}', 1, 'system', '2025-10-16 14:20:43', 'system', '2025-10-16 14:20:43', 0);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('09a7d84ade07d5b55d12f53414939d6c', 'zz001', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"input\",\"label\":\"姓名\",\"name\":\"field_input_8cnzsieaq\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759050228115_8cnzsieaq\"},{\"type\":\"textarea\",\"label\":\"描述\",\"name\":\"field_textarea_xwodq2zb2\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759050228714_xwodq2zb2\"}],\"style\":{}}', 1, 'system', '2025-09-28 17:03:55', 'system', '2025-09-28 17:58:24', 0);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('1fec5e9169bad70379b1b7df65feca47', '新建表单', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"left\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"checkbox\",\"label\":\"多选框_634\",\"name\":\"field_checkbox_6wnr008ll\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138240794_6wnr008ll\"},{\"type\":\"input\",\"label\":\"输入框_815\",\"name\":\"field_input_uv1ca5u3f\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138276939_uv1ca5u3f\"},{\"type\":\"textarea\",\"label\":\"多行文本_510\",\"name\":\"field_textarea_qnhq9cpd1\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278235_qnhq9cpd1\"},{\"type\":\"select\",\"label\":\"下拉选择_281\",\"name\":\"field_select_nfkhl787w\",\"placeholder\":\"请选择\",\"required\":false,\"disabled\":false,\"clearable\":true,\"filterable\":false,\"multiple\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"ArrowDown\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278971_nfkhl787w\"},{\"type\":\"checkbox\",\"label\":\"多选框_133\",\"name\":\"field_checkbox_ewve9j3vi\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138279546_ewve9j3vi\"},{\"type\":\"date-picker\",\"label\":\"日期选择_662\",\"name\":\"field_date-picker_nxu258dal\",\"placeholder\":\"请选择日期\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"pickerType\":\"date\",\"format\":\"YYYY-MM-DD\",\"valueFormat\":\"YYYY-MM-DD\",\"icon\":\"Calendar\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138280115_nxu258dal\"},{\"type\":\"time-picker\",\"label\":\"时间选择_192\",\"name\":\"field_time-picker_kzoab3hwh\",\"placeholder\":\"请选择时间\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"format\":\"HH:mm:ss\",\"valueFormat\":\"HH:mm:ss\",\"icon\":\"Clock\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138282186_kzoab3hwh\"},{\"type\":\"slider\",\"label\":\"滑块_310\",\"name\":\"field_slider_e558s7c5q\",\"required\":false,\"disabled\":false,\"min\":0,\"max\":100,\"step\":1,\"showInput\":false,\"showStops\":false,\"range\":false,\"icon\":\"Minus\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138283779_e558s7c5q\"},{\"type\":\"rate\",\"label\":\"评分_379\",\"name\":\"field_rate_kk7ax4mkq\",\"required\":false,\"disabled\":false,\"max\":5,\"allowHalf\":false,\"showText\":false,\"showScore\":false,\"icon\":\"Star\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138284515_kk7ax4mkq\"},{\"type\":\"color-picker\",\"label\":\"颜色选择_997\",\"name\":\"field_color-picker_s81m10g34\",\"required\":false,\"disabled\":false,\"showAlpha\":false,\"colorFormat\":\"hex\",\"icon\":\"Brush\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138286523_s81m10g34\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:32:19', 'system', '2025-09-29 17:56:07', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('4474f91e61469eda3ad1ba9d0a4611e4', '新建表单', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"left\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"checkbox\",\"label\":\"多选框_634\",\"name\":\"field_checkbox_6wnr008ll\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138240794_6wnr008ll\"},{\"type\":\"input\",\"label\":\"输入框_815\",\"name\":\"field_input_uv1ca5u3f\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138276939_uv1ca5u3f\"},{\"type\":\"textarea\",\"label\":\"多行文本_510\",\"name\":\"field_textarea_qnhq9cpd1\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278235_qnhq9cpd1\"},{\"type\":\"select\",\"label\":\"下拉选择_281\",\"name\":\"field_select_nfkhl787w\",\"placeholder\":\"请选择\",\"required\":false,\"disabled\":false,\"clearable\":true,\"filterable\":false,\"multiple\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"ArrowDown\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278971_nfkhl787w\"},{\"type\":\"checkbox\",\"label\":\"多选框_133\",\"name\":\"field_checkbox_ewve9j3vi\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138279546_ewve9j3vi\"},{\"type\":\"date-picker\",\"label\":\"日期选择_662\",\"name\":\"field_date-picker_nxu258dal\",\"placeholder\":\"请选择日期\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"pickerType\":\"date\",\"format\":\"YYYY-MM-DD\",\"valueFormat\":\"YYYY-MM-DD\",\"icon\":\"Calendar\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138280115_nxu258dal\"},{\"type\":\"time-picker\",\"label\":\"时间选择_192\",\"name\":\"field_time-picker_kzoab3hwh\",\"placeholder\":\"请选择时间\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"format\":\"HH:mm:ss\",\"valueFormat\":\"HH:mm:ss\",\"icon\":\"Clock\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138282186_kzoab3hwh\"},{\"type\":\"slider\",\"label\":\"滑块_310\",\"name\":\"field_slider_e558s7c5q\",\"required\":false,\"disabled\":false,\"min\":0,\"max\":100,\"step\":1,\"showInput\":false,\"showStops\":false,\"range\":false,\"icon\":\"Minus\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138283779_e558s7c5q\"},{\"type\":\"rate\",\"label\":\"评分_379\",\"name\":\"field_rate_kk7ax4mkq\",\"required\":false,\"disabled\":false,\"max\":5,\"allowHalf\":false,\"showText\":false,\"showScore\":false,\"icon\":\"Star\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138284515_kk7ax4mkq\"},{\"type\":\"color-picker\",\"label\":\"颜色选择_997\",\"name\":\"field_color-picker_s81m10g34\",\"required\":false,\"disabled\":false,\"showAlpha\":false,\"colorFormat\":\"hex\",\"icon\":\"Brush\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138286523_s81m10g34\"},{\"type\":\"date-picker\",\"label\":\"日期选择_194\",\"name\":\"field_date-picker_uc1fua31r\",\"placeholder\":\"请选择日期\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"pickerType\":\"date\",\"format\":\"YYYY-MM-DD\",\"valueFormat\":\"YYYY-MM-DD\",\"icon\":\"Calendar\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138343819_uc1fua31r\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:32:30', 'system', '2025-09-29 17:56:10', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('6b9d099f040927398aea0c1d6501edd7', '新增', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"input\",\"label\":\"输入框_315\",\"name\":\"field_input_jtfvr4qqz\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138364067_jtfvr4qqz\"},{\"type\":\"input\",\"label\":\"输入框_722\",\"name\":\"field_input_ur8tanzhg\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138365019_ur8tanzhg\"},{\"type\":\"input\",\"label\":\"输入框_391\",\"name\":\"field_input_m5465z2ub\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138365938_m5465z2ub\"},{\"type\":\"input\",\"label\":\"输入框_30\",\"name\":\"field_input_jm9o9gdmq\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138367026_jm9o9gdmq\"},{\"type\":\"textarea\",\"label\":\"多行文本_363\",\"name\":\"field_textarea_fzit97pa7\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138367995_fzit97pa7\"},{\"type\":\"textarea\",\"label\":\"多行文本_241\",\"name\":\"field_textarea_q8cahkio5\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138369171_q8cahkio5\"},{\"type\":\"date-picker\",\"label\":\"日期选择_177\",\"name\":\"field_date-picker_yqgb3z3ey\",\"placeholder\":\"请选择日期\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"pickerType\":\"date\",\"format\":\"YYYY-MM-DD\",\"valueFormat\":\"YYYY-MM-DD\",\"icon\":\"Calendar\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138372082_yqgb3z3ey\"},{\"type\":\"checkbox\",\"label\":\"多选框_282\",\"name\":\"field_checkbox_gahlmbfri\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138373498_gahlmbfri\"},{\"type\":\"switch\",\"label\":\"开关_78\",\"name\":\"field_switch_43aaistlu\",\"required\":false,\"disabled\":false,\"activeText\":\"\",\"inactiveText\":\"\",\"activeValue\":true,\"inactiveValue\":false,\"icon\":\"SwitchButton\",\"defaultValue\":false,\"span\":24,\"id\":\"component_1759138376659_43aaistlu\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:33:19', 'system', '2025-09-29 17:56:13', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('a4d3cb62d186942acdc7fd4b9956e3fb', '新建表单', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"input\",\"label\":\"输入框_364\",\"name\":\"field_input_jue4g1j3b\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":3,\"id\":\"component_1759139214906_jue4g1j3b\"},{\"type\":\"input\",\"label\":\"输入框_65\",\"name\":\"field_input_0px6nnv9s\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":3,\"id\":\"component_1759139216155_0px6nnv9s\"},{\"type\":\"number\",\"label\":\"数字输入_681\",\"name\":\"field_number_ei1usc7do\",\"required\":false,\"disabled\":false,\"controls\":true,\"step\":1,\"icon\":\"Plus\",\"defaultValue\":0,\"span\":3,\"id\":\"component_1759139217220_ei1usc7do\"},{\"type\":\"input\",\"label\":\"输入框_929\",\"name\":\"field_input_7hlh2hfi8\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":3,\"id\":\"component_1759139254698_7hlh2hfi8\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:47:50', 'system', '2025-09-29 17:56:15', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ac848dbf9c2c9256ae60e2298298d362', '新建表单123', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"input\",\"label\":\"输入框_551\",\"name\":\"field_input_pgm4d3sgc\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1762160882700_pgm4d3sgc\"},{\"type\":\"textarea\",\"label\":\"多行文本_772\",\"name\":\"field_textarea_e9lq0rw2d\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1762160883895_e9lq0rw2d\"}],\"style\":{}}', 0, 'system', '2025-11-03 17:08:17', 'system', '2025-11-03 17:08:17', 0);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('bf3686d29b71fd0c439d275878adc05d', '新建表单', '', '{\"labelWidth\":\"100px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"input\",\"label\":\"输入框_364\",\"name\":\"field_input_jue4g1j3b\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":3,\"id\":\"component_1759139214906_jue4g1j3b\"},{\"type\":\"input\",\"label\":\"输入框_65\",\"name\":\"field_input_0px6nnv9s\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":3,\"id\":\"component_1759139216155_0px6nnv9s\"},{\"type\":\"number\",\"label\":\"数字输入_681\",\"name\":\"field_number_ei1usc7do\",\"required\":false,\"disabled\":false,\"controls\":true,\"step\":1,\"icon\":\"Plus\",\"defaultValue\":0,\"span\":3,\"id\":\"component_1759139217220_ei1usc7do\"},{\"type\":\"input\",\"label\":\"输入框_929\",\"name\":\"field_input_7hlh2hfi8\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":3,\"id\":\"component_1759139254698_7hlh2hfi8\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:48:25', 'system', '2025-09-29 17:56:17', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ce2f316cdba7cef4b221009f4df7a40a', '新建表单', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"input\",\"label\":\"输入框_315\",\"name\":\"field_input_jtfvr4qqz\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138364067_jtfvr4qqz\"},{\"type\":\"input\",\"label\":\"输入框_722\",\"name\":\"field_input_ur8tanzhg\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138365019_ur8tanzhg\"},{\"type\":\"input\",\"label\":\"输入框_391\",\"name\":\"field_input_m5465z2ub\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138365938_m5465z2ub\"},{\"type\":\"input\",\"label\":\"输入框_30\",\"name\":\"field_input_jm9o9gdmq\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138367026_jm9o9gdmq\"},{\"type\":\"textarea\",\"label\":\"多行文本_363\",\"name\":\"field_textarea_fzit97pa7\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138367995_fzit97pa7\"},{\"type\":\"textarea\",\"label\":\"多行文本_241\",\"name\":\"field_textarea_q8cahkio5\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138369171_q8cahkio5\"},{\"type\":\"date-picker\",\"label\":\"日期选择_177\",\"name\":\"field_date-picker_yqgb3z3ey\",\"placeholder\":\"请选择日期\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"pickerType\":\"date\",\"format\":\"YYYY-MM-DD\",\"valueFormat\":\"YYYY-MM-DD\",\"icon\":\"Calendar\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138372082_yqgb3z3ey\"},{\"type\":\"checkbox\",\"label\":\"多选框_282\",\"name\":\"field_checkbox_gahlmbfri\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138373498_gahlmbfri\"},{\"type\":\"switch\",\"label\":\"开关_78\",\"name\":\"field_switch_43aaistlu\",\"required\":false,\"disabled\":false,\"activeText\":\"\",\"inactiveText\":\"\",\"activeValue\":true,\"inactiveValue\":false,\"icon\":\"SwitchButton\",\"defaultValue\":false,\"span\":24,\"id\":\"component_1759138376659_43aaistlu\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:33:04', 'system', '2025-09-29 17:56:20', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('e4f3452d05806fe006214ba6af18ce59', '新建表单', NULL, '{}', 1, 'system', '2025-10-29 18:03:15', 'system', '2025-10-29 18:04:05', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('ed1f6a20920519aa6fdfeecdcd695c5c', '新建表单', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"checkbox\",\"label\":\"多选框_634\",\"name\":\"field_checkbox_6wnr008ll\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138240794_6wnr008ll\"},{\"type\":\"input\",\"label\":\"输入框_815\",\"name\":\"field_input_uv1ca5u3f\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138276939_uv1ca5u3f\"},{\"type\":\"textarea\",\"label\":\"多行文本_510\",\"name\":\"field_textarea_qnhq9cpd1\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278235_qnhq9cpd1\"},{\"type\":\"select\",\"label\":\"下拉选择_281\",\"name\":\"field_select_nfkhl787w\",\"placeholder\":\"请选择\",\"required\":false,\"disabled\":false,\"clearable\":true,\"filterable\":false,\"multiple\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"ArrowDown\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278971_nfkhl787w\"},{\"type\":\"checkbox\",\"label\":\"多选框_133\",\"name\":\"field_checkbox_ewve9j3vi\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138279546_ewve9j3vi\"},{\"type\":\"date-picker\",\"label\":\"日期选择_662\",\"name\":\"field_date-picker_nxu258dal\",\"placeholder\":\"请选择日期\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"pickerType\":\"date\",\"format\":\"YYYY-MM-DD\",\"valueFormat\":\"YYYY-MM-DD\",\"icon\":\"Calendar\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138280115_nxu258dal\"},{\"type\":\"time-picker\",\"label\":\"时间选择_192\",\"name\":\"field_time-picker_kzoab3hwh\",\"placeholder\":\"请选择时间\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"format\":\"HH:mm:ss\",\"valueFormat\":\"HH:mm:ss\",\"icon\":\"Clock\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138282186_kzoab3hwh\"},{\"type\":\"slider\",\"label\":\"滑块_310\",\"name\":\"field_slider_e558s7c5q\",\"required\":false,\"disabled\":false,\"min\":0,\"max\":100,\"step\":1,\"showInput\":false,\"showStops\":false,\"range\":false,\"icon\":\"Minus\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138283779_e558s7c5q\"},{\"type\":\"rate\",\"label\":\"评分_379\",\"name\":\"field_rate_kk7ax4mkq\",\"required\":false,\"disabled\":false,\"max\":5,\"allowHalf\":false,\"showText\":false,\"showScore\":false,\"icon\":\"Star\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138284515_kk7ax4mkq\"},{\"type\":\"color-picker\",\"label\":\"颜色选择_997\",\"name\":\"field_color-picker_s81m10g34\",\"required\":false,\"disabled\":false,\"showAlpha\":false,\"colorFormat\":\"hex\",\"icon\":\"Brush\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138286523_s81m10g34\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:31:36', 'system', '2025-09-29 17:56:21', 1);
INSERT INTO `form_base_info` (`id`, `form_name`, `form_description`, `form_config`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`) VALUES ('f1872031e96a12201dcfc69785736876', '新建表单', '', '{\"labelWidth\":\"120px\",\"labelPosition\":\"right\",\"size\":\"default\",\"disabled\":false,\"inline\":false,\"components\":[{\"type\":\"checkbox\",\"label\":\"多选框_634\",\"name\":\"field_checkbox_6wnr008ll\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138240794_6wnr008ll\"},{\"type\":\"input\",\"label\":\"输入框_815\",\"name\":\"field_input_uv1ca5u3f\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"clearable\":true,\"inputType\":\"text\",\"showWordLimit\":false,\"icon\":\"Edit\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138276939_uv1ca5u3f\"},{\"type\":\"textarea\",\"label\":\"多行文本_510\",\"name\":\"field_textarea_qnhq9cpd1\",\"placeholder\":\"请输入内容\",\"required\":false,\"disabled\":false,\"inputType\":\"textarea\",\"rows\":4,\"icon\":\"Document\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278235_qnhq9cpd1\"},{\"type\":\"select\",\"label\":\"下拉选择_281\",\"name\":\"field_select_nfkhl787w\",\"placeholder\":\"请选择\",\"required\":false,\"disabled\":false,\"clearable\":true,\"filterable\":false,\"multiple\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"ArrowDown\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138278971_nfkhl787w\"},{\"type\":\"checkbox\",\"label\":\"多选框_133\",\"name\":\"field_checkbox_ewve9j3vi\",\"required\":false,\"disabled\":false,\"options\":[{\"label\":\"选项1\",\"value\":\"1\"},{\"label\":\"选项2\",\"value\":\"2\"}],\"icon\":\"Select\",\"defaultValue\":[],\"span\":24,\"id\":\"component_1759138279546_ewve9j3vi\"},{\"type\":\"date-picker\",\"label\":\"日期选择_662\",\"name\":\"field_date-picker_nxu258dal\",\"placeholder\":\"请选择日期\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"pickerType\":\"date\",\"format\":\"YYYY-MM-DD\",\"valueFormat\":\"YYYY-MM-DD\",\"icon\":\"Calendar\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138280115_nxu258dal\"},{\"type\":\"time-picker\",\"label\":\"时间选择_192\",\"name\":\"field_time-picker_kzoab3hwh\",\"placeholder\":\"请选择时间\",\"required\":false,\"disabled\":false,\"clearable\":true,\"editable\":true,\"format\":\"HH:mm:ss\",\"valueFormat\":\"HH:mm:ss\",\"icon\":\"Clock\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138282186_kzoab3hwh\"},{\"type\":\"slider\",\"label\":\"滑块_310\",\"name\":\"field_slider_e558s7c5q\",\"required\":false,\"disabled\":false,\"min\":0,\"max\":100,\"step\":1,\"showInput\":false,\"showStops\":false,\"range\":false,\"icon\":\"Minus\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138283779_e558s7c5q\"},{\"type\":\"rate\",\"label\":\"评分_379\",\"name\":\"field_rate_kk7ax4mkq\",\"required\":false,\"disabled\":false,\"max\":5,\"allowHalf\":false,\"showText\":false,\"showScore\":false,\"icon\":\"Star\",\"defaultValue\":0,\"span\":24,\"id\":\"component_1759138284515_kk7ax4mkq\"},{\"type\":\"color-picker\",\"label\":\"颜色选择_997\",\"name\":\"field_color-picker_s81m10g34\",\"required\":false,\"disabled\":false,\"showAlpha\":false,\"colorFormat\":\"hex\",\"icon\":\"Brush\",\"defaultValue\":\"\",\"span\":24,\"id\":\"component_1759138286523_s81m10g34\"}],\"style\":{}}', 0, 'system', '2025-09-29 17:31:41', 'system', '2025-09-29 17:56:24', 1);
COMMIT;

-- ----------------------------
-- Table structure for form_column_info
-- ----------------------------
DROP TABLE IF EXISTS `form_column_info`;
CREATE TABLE `form_column_info` (
  `id` bigint NOT NULL COMMENT '唯一标识',
  `form_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表单ID',
  `column_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段名',
  `column_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段类型(DB)',
  `form_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段类型(表单)',
  `is_sys_field` int DEFAULT NULL COMMENT '是否系统字段 0不是，1是的',
  `column_comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段注释',
  `column_length` int DEFAULT NULL COMMENT '字段长度/精度',
  `column_scale` int DEFAULT NULL COMMENT '小数位数（用于decimal类型）',
  `is_nullable` tinyint(1) DEFAULT NULL COMMENT '是否可为空',
  `default_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '默认值',
  `is_primary_key` tinyint(1) DEFAULT NULL COMMENT '是否为主键',
  `is_auto_increment` tinyint(1) DEFAULT NULL COMMENT '是否为自增字段',
  `character_set` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字符集',
  `collation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '排序规则',
  `extra` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段额外属性（如：on update current_timestamp）',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据库模型数据表字段';

-- ----------------------------
-- Records of form_column_info
-- ----------------------------
BEGIN;
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972225748710207489, '09a7d84ade07d5b55d12f53414939d6c', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972225748710207490, '09a7d84ade07d5b55d12f53414939d6c', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972225748710207491, '09a7d84ade07d5b55d12f53414939d6c', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972225748710207492, '09a7d84ade07d5b55d12f53414939d6c', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972225748710207493, '09a7d84ade07d5b55d12f53414939d6c', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972225748710207494, '09a7d84ade07d5b55d12f53414939d6c', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972239457377640450, '09a7d84ade07d5b55d12f53414939d6c', 'field_input_8cnzsieaq', 'varchar', 'input', 0, '姓名', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972239457377640451, '09a7d84ade07d5b55d12f53414939d6c', 'field_textarea_xwodq2zb2', 'text', 'textarea', 0, '描述', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104254275585, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104254275586, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104254275587, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104254275588, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104254275589, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104254275590, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299009, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_checkbox_6wnr008ll', 'varchar', 'checkbox', 0, '多选框_634', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299010, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_input_uv1ca5u3f', 'varchar', 'input', 0, '输入框_815', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299011, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_textarea_qnhq9cpd1', 'text', 'textarea', 0, '多行文本_510', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299012, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_select_nfkhl787w', 'varchar', 'select', 0, '下拉选择_281', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299013, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_checkbox_ewve9j3vi', 'varchar', 'checkbox', 0, '多选框_133', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299014, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_date-picker_nxu258dal', 'varchar', 'date-picker', 0, '日期选择_662', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299015, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_time-picker_kzoab3hwh', 'varchar', 'time-picker', 0, '时间选择_192', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299016, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_slider_e558s7c5q', 'int', 'slider', 0, '滑块_310', NULL, 0, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299017, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_rate_kk7ax4mkq', 'decimal', 'rate', 0, '评分_379', NULL, 2, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595104384299018, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'field_color-picker_s81m10g34', 'varchar', 'color-picker', 0, '颜色选择_997', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121203458049, 'f1872031e96a12201dcfc69785736876', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121203458050, 'f1872031e96a12201dcfc69785736876', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121203458051, 'f1872031e96a12201dcfc69785736876', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121203458052, 'f1872031e96a12201dcfc69785736876', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121203458053, 'f1872031e96a12201dcfc69785736876', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121203458054, 'f1872031e96a12201dcfc69785736876', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927041, 'f1872031e96a12201dcfc69785736876', 'field_checkbox_6wnr008ll', 'varchar', 'checkbox', 0, '多选框_634', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927042, 'f1872031e96a12201dcfc69785736876', 'field_input_uv1ca5u3f', 'varchar', 'input', 0, '输入框_815', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927043, 'f1872031e96a12201dcfc69785736876', 'field_textarea_qnhq9cpd1', 'text', 'textarea', 0, '多行文本_510', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927044, 'f1872031e96a12201dcfc69785736876', 'field_select_nfkhl787w', 'varchar', 'select', 0, '下拉选择_281', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927045, 'f1872031e96a12201dcfc69785736876', 'field_checkbox_ewve9j3vi', 'varchar', 'checkbox', 0, '多选框_133', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927046, 'f1872031e96a12201dcfc69785736876', 'field_date-picker_nxu258dal', 'varchar', 'date-picker', 0, '日期选择_662', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927047, 'f1872031e96a12201dcfc69785736876', 'field_time-picker_kzoab3hwh', 'varchar', 'time-picker', 0, '时间选择_192', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927048, 'f1872031e96a12201dcfc69785736876', 'field_slider_e558s7c5q', 'int', 'slider', 0, '滑块_310', NULL, 0, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927049, 'f1872031e96a12201dcfc69785736876', 'field_rate_kk7ax4mkq', 'decimal', 'rate', 0, '评分_379', NULL, 2, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595121299927050, 'f1872031e96a12201dcfc69785736876', 'field_color-picker_s81m10g34', 'varchar', 'color-picker', 0, '颜色选择_997', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281044189186, '1fec5e9169bad70379b1b7df65feca47', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281044189187, '1fec5e9169bad70379b1b7df65feca47', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281044189188, '1fec5e9169bad70379b1b7df65feca47', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281044189189, '1fec5e9169bad70379b1b7df65feca47', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281044189190, '1fec5e9169bad70379b1b7df65feca47', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281044189191, '1fec5e9169bad70379b1b7df65feca47', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463874, '1fec5e9169bad70379b1b7df65feca47', 'field_checkbox_6wnr008ll', 'varchar', 'checkbox', 0, '多选框_634', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463875, '1fec5e9169bad70379b1b7df65feca47', 'field_input_uv1ca5u3f', 'varchar', 'input', 0, '输入框_815', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463876, '1fec5e9169bad70379b1b7df65feca47', 'field_textarea_qnhq9cpd1', 'text', 'textarea', 0, '多行文本_510', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463877, '1fec5e9169bad70379b1b7df65feca47', 'field_select_nfkhl787w', 'varchar', 'select', 0, '下拉选择_281', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463878, '1fec5e9169bad70379b1b7df65feca47', 'field_checkbox_ewve9j3vi', 'varchar', 'checkbox', 0, '多选框_133', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463879, '1fec5e9169bad70379b1b7df65feca47', 'field_date-picker_nxu258dal', 'varchar', 'date-picker', 0, '日期选择_662', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463880, '1fec5e9169bad70379b1b7df65feca47', 'field_time-picker_kzoab3hwh', 'varchar', 'time-picker', 0, '时间选择_192', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463881, '1fec5e9169bad70379b1b7df65feca47', 'field_slider_e558s7c5q', 'int', 'slider', 0, '滑块_310', NULL, 0, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463882, '1fec5e9169bad70379b1b7df65feca47', 'field_rate_kk7ax4mkq', 'decimal', 'rate', 0, '评分_379', NULL, 2, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595281136463883, '1fec5e9169bad70379b1b7df65feca47', 'field_color-picker_s81m10g34', 'varchar', 'color-picker', 0, '颜色选择_997', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329228353537, '4474f91e61469eda3ad1ba9d0a4611e4', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329228353538, '4474f91e61469eda3ad1ba9d0a4611e4', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329228353539, '4474f91e61469eda3ad1ba9d0a4611e4', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329228353540, '4474f91e61469eda3ad1ba9d0a4611e4', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329228353541, '4474f91e61469eda3ad1ba9d0a4611e4', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329228353542, '4474f91e61469eda3ad1ba9d0a4611e4', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628226, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_checkbox_6wnr008ll', 'varchar', 'checkbox', 0, '多选框_634', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628227, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_input_uv1ca5u3f', 'varchar', 'input', 0, '输入框_815', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628228, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_textarea_qnhq9cpd1', 'text', 'textarea', 0, '多行文本_510', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628229, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_select_nfkhl787w', 'varchar', 'select', 0, '下拉选择_281', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628230, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_checkbox_ewve9j3vi', 'varchar', 'checkbox', 0, '多选框_133', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628231, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_date-picker_nxu258dal', 'varchar', 'date-picker', 0, '日期选择_662', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628232, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_time-picker_kzoab3hwh', 'varchar', 'time-picker', 0, '时间选择_192', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628233, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_slider_e558s7c5q', 'int', 'slider', 0, '滑块_310', NULL, 0, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628234, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_rate_kk7ax4mkq', 'decimal', 'rate', 0, '评分_379', NULL, 2, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628235, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_color-picker_s81m10g34', 'varchar', 'color-picker', 0, '颜色选择_997', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595329320628236, '4474f91e61469eda3ad1ba9d0a4611e4', 'field_date-picker_uc1fua31r', 'varchar', 'date-picker', 0, '日期选择_194', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472530944001, 'ce2f316cdba7cef4b221009f4df7a40a', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472530944002, 'ce2f316cdba7cef4b221009f4df7a40a', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472530944003, 'ce2f316cdba7cef4b221009f4df7a40a', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472530944004, 'ce2f316cdba7cef4b221009f4df7a40a', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472530944005, 'ce2f316cdba7cef4b221009f4df7a40a', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472530944006, 'ce2f316cdba7cef4b221009f4df7a40a', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801601, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_input_jtfvr4qqz', 'varchar', 'input', 0, '输入框_315', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801602, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_input_ur8tanzhg', 'varchar', 'input', 0, '输入框_722', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801603, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_input_m5465z2ub', 'varchar', 'input', 0, '输入框_391', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801604, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_input_jm9o9gdmq', 'varchar', 'input', 0, '输入框_30', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801605, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_textarea_fzit97pa7', 'text', 'textarea', 0, '多行文本_363', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801606, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_textarea_q8cahkio5', 'text', 'textarea', 0, '多行文本_241', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801607, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_date-picker_yqgb3z3ey', 'varchar', 'date-picker', 0, '日期选择_177', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801608, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_checkbox_gahlmbfri', 'varchar', 'checkbox', 0, '多选框_282', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595472635801609, 'ce2f316cdba7cef4b221009f4df7a40a', 'field_switch_43aaistlu', 'tinyint', 'switch', 0, '开关_78', 1, NULL, 1, 'false', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533830696961, '6b9d099f040927398aea0c1d6501edd7', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533830696962, '6b9d099f040927398aea0c1d6501edd7', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533830696963, '6b9d099f040927398aea0c1d6501edd7', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533830696964, '6b9d099f040927398aea0c1d6501edd7', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533830696965, '6b9d099f040927398aea0c1d6501edd7', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533830696966, '6b9d099f040927398aea0c1d6501edd7', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971650, '6b9d099f040927398aea0c1d6501edd7', 'field_input_jtfvr4qqz', 'varchar', 'input', 0, '输入框_315', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971651, '6b9d099f040927398aea0c1d6501edd7', 'field_input_ur8tanzhg', 'varchar', 'input', 0, '输入框_722', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971652, '6b9d099f040927398aea0c1d6501edd7', 'field_input_m5465z2ub', 'varchar', 'input', 0, '输入框_391', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971653, '6b9d099f040927398aea0c1d6501edd7', 'field_input_jm9o9gdmq', 'varchar', 'input', 0, '输入框_30', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971654, '6b9d099f040927398aea0c1d6501edd7', 'field_textarea_fzit97pa7', 'text', 'textarea', 0, '多行文本_363', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971655, '6b9d099f040927398aea0c1d6501edd7', 'field_textarea_q8cahkio5', 'text', 'textarea', 0, '多行文本_241', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971656, '6b9d099f040927398aea0c1d6501edd7', 'field_date-picker_yqgb3z3ey', 'varchar', 'date-picker', 0, '日期选择_177', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971657, '6b9d099f040927398aea0c1d6501edd7', 'field_checkbox_gahlmbfri', 'varchar', 'checkbox', 0, '多选框_282', 255, NULL, 1, '[]', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972595533922971658, '6b9d099f040927398aea0c1d6501edd7', 'field_switch_43aaistlu', 'tinyint', 'switch', 0, '开关_78', 1, NULL, 1, 'false', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187862204418, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187862204419, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187862204420, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187862204421, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187862204422, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187862204423, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187954479105, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'field_input_jue4g1j3b', 'varchar', 'input', 0, '输入框_364', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187954479106, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'field_input_0px6nnv9s', 'varchar', 'input', 0, '输入框_65', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187954479107, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'field_number_ei1usc7do', 'int', 'number', 0, '数字输入_681', NULL, 0, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599187954479108, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'field_input_7hlh2hfi8', 'varchar', 'input', 0, '输入框_929', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599334956445697, 'bf3686d29b71fd0c439d275878adc05d', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599334956445698, 'bf3686d29b71fd0c439d275878adc05d', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599334956445699, 'bf3686d29b71fd0c439d275878adc05d', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599334956445700, 'bf3686d29b71fd0c439d275878adc05d', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599334956445701, 'bf3686d29b71fd0c439d275878adc05d', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599334956445702, 'bf3686d29b71fd0c439d275878adc05d', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599335048720386, 'bf3686d29b71fd0c439d275878adc05d', 'field_input_jue4g1j3b', 'varchar', 'input', 0, '输入框_364', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599335048720387, 'bf3686d29b71fd0c439d275878adc05d', 'field_input_0px6nnv9s', 'varchar', 'input', 0, '输入框_65', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599335048720388, 'bf3686d29b71fd0c439d275878adc05d', 'field_number_ei1usc7do', 'int', 'number', 0, '数字输入_681', NULL, 0, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1972599335048720389, 'bf3686d29b71fd0c439d275878adc05d', 'field_input_7hlh2hfi8', 'varchar', 'input', 0, '输入框_929', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659620126721, '06327a1aec4c676b50043db53a168888', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659620126722, '06327a1aec4c676b50043db53a168888', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659620126723, '06327a1aec4c676b50043db53a168888', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659620126724, '06327a1aec4c676b50043db53a168888', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659620126725, '06327a1aec4c676b50043db53a168888', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659620126726, '06327a1aec4c676b50043db53a168888', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659766927362, '06327a1aec4c676b50043db53a168888', 'field_input_5vm3s66k0', 'varchar', 'input', 0, '姓名', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659766927363, '06327a1aec4c676b50043db53a168888', 'field_textarea_ny9feh80r', 'text', 'textarea', 0, '描述', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1978707659766927364, '06327a1aec4c676b50043db53a168888', 'field_select_qz6ctxlsn', 'varchar', 'select', 0, '审核人', 1024, NULL, 1, '3', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1983474701137084417, 'e4f3452d05806fe006214ba6af18ce59', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1983474701137084418, 'e4f3452d05806fe006214ba6af18ce59', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1983474701137084419, 'e4f3452d05806fe006214ba6af18ce59', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1983474701137084420, 'e4f3452d05806fe006214ba6af18ce59', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1983474701137084421, 'e4f3452d05806fe006214ba6af18ce59', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1983474701137084422, 'e4f3452d05806fe006214ba6af18ce59', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811165331457, 'ac848dbf9c2c9256ae60e2298298d362', 'id', 'bigint', 'number', 1, '主键id', NULL, NULL, 0, NULL, 1, 1, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811165331458, 'ac848dbf9c2c9256ae60e2298298d362', 'create_time', 'datetime', 'datetime', 1, '创建时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811165331459, 'ac848dbf9c2c9256ae60e2298298d362', 'create_user', 'varchar', 'input', 1, '创建人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811165331460, 'ac848dbf9c2c9256ae60e2298298d362', 'update_time', 'datetime', 'datetime', 1, '修改时间', NULL, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811165331461, 'ac848dbf9c2c9256ae60e2298298d362', 'update_user', 'varchar', 'input', 1, '修改人', 64, NULL, 1, NULL, 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811165331462, 'ac848dbf9c2c9256ae60e2298298d362', 'is_deleted', 'int', 'number', 1, '删除标识', NULL, NULL, 1, '0', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811324715010, 'ac848dbf9c2c9256ae60e2298298d362', 'field_input_pgm4d3sgc', 'varchar', 'input', 0, '输入框_551', 255, NULL, 1, '', 0, 0, NULL, NULL, NULL);
INSERT INTO `form_column_info` (`id`, `form_id`, `column_name`, `column_type`, `form_type`, `is_sys_field`, `column_comment`, `column_length`, `column_scale`, `is_nullable`, `default_value`, `is_primary_key`, `is_auto_increment`, `character_set`, `collation`, `extra`) VALUES (1985272811324715011, 'ac848dbf9c2c9256ae60e2298298d362', 'field_textarea_e9lq0rw2d', 'text', 'textarea', 0, '多行文本_772', 1024, NULL, 1, '', 0, 0, NULL, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for form_table_info
-- ----------------------------
DROP TABLE IF EXISTS `form_table_info`;
CREATE TABLE `form_table_info` (
  `id` bigint NOT NULL COMMENT '唯一标识',
  `form_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表单模板ID',
  `table_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据表名',
  `table_comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据表注释',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据库模型数据表';

-- ----------------------------
-- Records of form_table_info
-- ----------------------------
BEGIN;
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972225748651487233, '09a7d84ade07d5b55d12f53414939d6c', '09a7d84ade07d5b55d12f53414939d6c', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972595104082309121, 'ed1f6a20920519aa6fdfeecdcd695c5c', 'ed1f6a20920519aa6fdfeecdcd695c5c', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972595121048268802, 'f1872031e96a12201dcfc69785736876', 'f1872031e96a12201dcfc69785736876', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972595280914165761, '1fec5e9169bad70379b1b7df65feca47', '1fec5e9169bad70379b1b7df65feca47', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972595329081552898, '4474f91e61469eda3ad1ba9d0a4611e4', '4474f91e61469eda3ad1ba9d0a4611e4', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972595472384143361, 'ce2f316cdba7cef4b221009f4df7a40a', 'ce2f316cdba7cef4b221009f4df7a40a', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972595533688090625, '6b9d099f040927398aea0c1d6501edd7', '6b9d099f040927398aea0c1d6501edd7', '新增');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972599187711209474, 'a4d3cb62d186942acdc7fd4b9956e3fb', 'a4d3cb62d186942acdc7fd4b9956e3fb', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1972599334801256449, 'bf3686d29b71fd0c439d275878adc05d', 'bf3686d29b71fd0c439d275878adc05d', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1978707658860957697, '06327a1aec4c676b50043db53a168888', '06327a1aec4c676b50043db53a168888', 'zz0002');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1983474700910592002, 'e4f3452d05806fe006214ba6af18ce59', 'e4f3452d05806fe006214ba6af18ce59', '新建表单');
INSERT INTO `form_table_info` (`id`, `form_id`, `table_name`, `table_comment`) VALUES (1985272810796232706, 'ac848dbf9c2c9256ae60e2298298d362', 'ac848dbf9c2c9256ae60e2298298d362', '新建表单123');
COMMIT;

-- ----------------------------
-- Table structure for sys_department
-- ----------------------------
DROP TABLE IF EXISTS `sys_department`;
CREATE TABLE `sys_department` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '部门名称',
  `dept_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '部门编码',
  `parent_id` bigint DEFAULT '0' COMMENT '父部门ID',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '部门描述',
  `leader` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系电话',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '邮箱',
  `status` tinyint DEFAULT '1' COMMENT '状态 0-禁用 1-启用',
  `sort` int DEFAULT '0' COMMENT '排序',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint DEFAULT '0' COMMENT '逻辑删除标识',
  PRIMARY KEY (`id`),
  UNIQUE KEY `dept_code` (`dept_code`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='部门表';

-- ----------------------------
-- Records of sys_department
-- ----------------------------
BEGIN;
INSERT INTO `sys_department` (`id`, `dept_name`, `dept_code`, `parent_id`, `description`, `leader`, `phone`, `email`, `status`, `sort`, `create_time`, `update_time`, `deleted`) VALUES (1, '总公司', 'HQ', 0, '总公司', '张三', NULL, NULL, 1, 1, '2025-08-07 09:17:40', '2025-08-07 09:17:40', 0);
INSERT INTO `sys_department` (`id`, `dept_name`, `dept_code`, `parent_id`, `description`, `leader`, `phone`, `email`, `status`, `sort`, `create_time`, `update_time`, `deleted`) VALUES (2, '技术部', 'TECH', 1, '技术部门', '李四', NULL, NULL, 1, 1, '2025-08-07 09:17:40', '2025-08-07 09:17:40', 0);
INSERT INTO `sys_department` (`id`, `dept_name`, `dept_code`, `parent_id`, `description`, `leader`, `phone`, `email`, `status`, `sort`, `create_time`, `update_time`, `deleted`) VALUES (3, '人事部', 'HR', 1, '人事部门', '王五', NULL, NULL, 1, 2, '2025-08-07 09:17:40', '2025-08-07 09:17:40', 0);
INSERT INTO `sys_department` (`id`, `dept_name`, `dept_code`, `parent_id`, `description`, `leader`, `phone`, `email`, `status`, `sort`, `create_time`, `update_time`, `deleted`) VALUES (4, '财务部', 'FINANCE', 1, '财务部门', '赵六', NULL, NULL, 1, 3, '2025-08-07 09:17:40', '2025-08-07 09:17:40', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_file_info
-- ----------------------------
DROP TABLE IF EXISTS `sys_file_info`;
CREATE TABLE `sys_file_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件名',
  `original_file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '原始文件名',
  `file_path` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件路径',
  `file_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件URL',
  `file_size` bigint DEFAULT NULL COMMENT '文件大小（字节）',
  `file_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件类型',
  `file_extension` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件扩展名',
  `storage_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'LOCAL' COMMENT '存储类型（LOCAL-本地，OSS-阿里云OSS，FTP-FTP服务器）',
  `file_md5` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件MD5值',
  `status` tinyint DEFAULT '1' COMMENT '文件状态（0-临时文件，1-正式文件，2-已删除）',
  `upload_user_id` bigint DEFAULT NULL COMMENT '上传用户ID',
  `upload_username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '上传用户名',
  `description` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '文件描述',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint DEFAULT '0' COMMENT '逻辑删除标识',
  PRIMARY KEY (`id`),
  KEY `idx_file_name` (`file_name`),
  KEY `idx_file_path` (`file_path`),
  KEY `idx_storage_type` (`storage_type`),
  KEY `idx_upload_user_id` (`upload_user_id`),
  KEY `idx_create_time` (`create_time`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='文件信息表';

-- ----------------------------
-- Records of sys_file_info
-- ----------------------------
BEGIN;
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (20, '6bded2858a3d458299e0c9d2fe2a6c3d.docx', '测试文件1111.docx', '6bded2858a3d458299e0c9d2fe2a6c3d.docx', '/file/download/6bded2858a3d458299e0c9d2fe2a6c3d.docx', 10389, '文档', '.docx', 'LOCAL', NULL, 1, NULL, NULL, '选择要上传的文件', '2025-09-29 12:52:46', '2025-09-29 12:52:46', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (21, 'a893208168f840d1a32a53624f0049ec.jpeg', '01.jpeg', 'a893208168f840d1a32a53624f0049ec.jpeg', '/file/download/avatar/a893208168f840d1a32a53624f0049ec.jpeg', 7573, '图片', '.jpeg', 'LOCAL', NULL, 1, NULL, NULL, '用户头像', '2025-09-30 15:46:06', '2025-09-30 15:46:06', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (22, 'b239ccb0a43b4399a7c84a836e6e5d37.jpg', '1.jpg', 'b239ccb0a43b4399a7c84a836e6e5d37.jpg', '/file/download/avatar/b239ccb0a43b4399a7c84a836e6e5d37.jpg', 12409, '图片', '.jpg', 'LOCAL', NULL, 1, NULL, NULL, '用户头像', '2025-09-30 15:46:13', '2025-09-30 15:46:13', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (23, '727f2c71bba94d088372452c80a09a8c.xlsx', '副本1111.xlsx', '727f2c71bba94d088372452c80a09a8c.xlsx', '/file/download/727f2c71bba94d088372452c80a09a8c.xlsx', 9815, '表格', '.xlsx', 'LOCAL', NULL, 1, NULL, NULL, '选择要上传的文件', '2025-10-14 11:37:34', '2025-10-14 11:37:34', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (24, '78720ead30564ba38228ca62eb0cec7d.xlsx', '副本1111.xlsx', '78720ead30564ba38228ca62eb0cec7d.xlsx', '/file/download/78720ead30564ba38228ca62eb0cec7d.xlsx', 9815, '表格', '.xlsx', 'LOCAL', NULL, 1, NULL, NULL, '选择要上传的文件', '2025-10-14 11:37:59', '2025-10-14 11:37:59', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (25, '6614fa6609e64d079369647a054ed27d.docx', '训练活动数据采集20250210 0001.docx', '6614fa6609e64d079369647a054ed27d.docx', '/file/download/6614fa6609e64d079369647a054ed27d.docx', 253890, '文档', '.docx', 'LOCAL', NULL, 1, NULL, NULL, '选择要上传的文件', '2025-10-14 20:46:18', '2025-10-14 20:46:49', 1);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (26, 'df1ca50159d5421aba7d31b18f627a3f.pdf', 'V39A表及填写模板.pdf', 'df1ca50159d5421aba7d31b18f627a3f.pdf', '/file/download/df1ca50159d5421aba7d31b18f627a3f.pdf', 144688, '文档', '.pdf', 'LOCAL', NULL, 1, NULL, NULL, '选择要上传的文件', '2025-10-14 20:47:31', '2025-10-14 20:47:31', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (27, 'd72964b9c8d24feea0c8a517fca89a6d.pdf', '测试文件1111_converted.pdf', '/home/zapi-allin/zapi-allin-system/fileData/conversion/pdf/d72964b9c8d24feea0c8a517fca89a6d.pdf', '/file/download/conversion/pdf/d72964b9c8d24feea0c8a517fca89a6d.pdf', 9122, '文档', '.pdf', 'LOCAL', NULL, 1, 1, 'admin', 'Word转PDF转换结果', '2025-11-03 15:41:09', '2025-11-03 15:41:09', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (28, 'be76345539ff4ec88ab81bf6ae8e67ca.png', 'avatar_2_1762155773049.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/be76345539ff4ec88ab81bf6ae8e67ca.png', '/file/download/avatar/be76345539ff4ec88ab81bf6ae8e67ca.png', 343, '图片', '.png', 'LOCAL', NULL, 1, 2, '张三', '用户默认头像', '2025-11-03 15:42:53', '2025-11-03 15:42:53', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (29, '5dbc36445cc24540af32c5ea73fb2bb5.png', 'avatar_3_1762155773088.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/5dbc36445cc24540af32c5ea73fb2bb5.png', '/file/download/avatar/5dbc36445cc24540af32c5ea73fb2bb5.png', 343, '图片', '.png', 'LOCAL', NULL, 1, 3, '李四', '用户默认头像', '2025-11-03 15:42:53', '2025-11-03 15:42:53', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (30, '60f1df7fe33b4569b1ab7502adfbaa98.png', 'avatar_4_1762155773123.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/60f1df7fe33b4569b1ab7502adfbaa98.png', '/file/download/avatar/60f1df7fe33b4569b1ab7502adfbaa98.png', 343, '图片', '.png', 'LOCAL', NULL, 1, 4, '王五', '用户默认头像', '2025-11-03 15:42:53', '2025-11-03 15:42:53', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (31, 'a7fcaff0df0c4db3b9454b6ec70a388b.png', 'avatar_5_1762155773160.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/a7fcaff0df0c4db3b9454b6ec70a388b.png', '/file/download/avatar/a7fcaff0df0c4db3b9454b6ec70a388b.png', 343, '图片', '.png', 'LOCAL', NULL, 1, 5, '老六', '用户默认头像', '2025-11-03 15:42:53', '2025-11-03 15:42:53', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (32, '63016abdba2d4f16afa93cb260a469df.png', 'avatar_6_1762155773198.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/63016abdba2d4f16afa93cb260a469df.png', '/file/download/avatar/63016abdba2d4f16afa93cb260a469df.png', 343, '图片', '.png', 'LOCAL', NULL, 1, 6, '小柒', '用户默认头像', '2025-11-03 15:42:53', '2025-11-03 15:42:53', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (33, 'b0b98e4698a04d09aff359530a20f4ac.png', 'avatar_7_1762155773229.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/b0b98e4698a04d09aff359530a20f4ac.png', '/file/download/avatar/b0b98e4698a04d09aff359530a20f4ac.png', 343, '图片', '.png', 'LOCAL', NULL, 1, 7, '老王', '用户默认头像', '2025-11-03 15:42:53', '2025-11-03 15:42:53', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (34, 'f3611e0e36444f3d81e761b97aa47c7e.png', 'avatar_8_1762155773261.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/f3611e0e36444f3d81e761b97aa47c7e.png', '/file/download/avatar/f3611e0e36444f3d81e761b97aa47c7e.png', 279, '图片', '.png', 'LOCAL', NULL, 1, 8, '测试用户', '用户默认头像', '2025-11-03 15:42:53', '2025-11-03 15:42:53', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (35, 'c1b0677135cc4418a0083f6659e5c034.png', 'avatar_1_1762157131833.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/c1b0677135cc4418a0083f6659e5c034.png', '/file/download/avatar/c1b0677135cc4418a0083f6659e5c034.png', 1087, '图片', '.png', 'LOCAL', NULL, 1, 1, 'ADMIN', '用户默认头像', '2025-11-03 16:05:32', '2025-11-07 17:13:08', 1);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (36, '81aeb82fd8ec4d4a839461a43d59cf34.png', 'avatar_2_1762157131915.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/81aeb82fd8ec4d4a839461a43d59cf34.png', '/file/download/avatar/81aeb82fd8ec4d4a839461a43d59cf34.png', 1698, '图片', '.png', 'LOCAL', NULL, 1, 2, '张三', '用户默认头像', '2025-11-03 16:05:32', '2025-11-03 16:05:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (37, '58085229cd154d20a7935cdbba76310d.png', 'avatar_3_1762157131969.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/58085229cd154d20a7935cdbba76310d.png', '/file/download/avatar/58085229cd154d20a7935cdbba76310d.png', 1790, '图片', '.png', 'LOCAL', NULL, 1, 3, '李四', '用户默认头像', '2025-11-03 16:05:32', '2025-11-03 16:05:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (38, '9d742de3eb1f434fb5401b619592950d.png', 'avatar_4_1762157132009.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/9d742de3eb1f434fb5401b619592950d.png', '/file/download/avatar/9d742de3eb1f434fb5401b619592950d.png', 1189, '图片', '.png', 'LOCAL', NULL, 1, 4, '王五', '用户默认头像', '2025-11-03 16:05:32', '2025-11-03 16:05:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (39, 'f5950ad6d1364778a363e64a8613fdfc.png', 'avatar_5_1762157132049.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/f5950ad6d1364778a363e64a8613fdfc.png', '/file/download/avatar/f5950ad6d1364778a363e64a8613fdfc.png', 1947, '图片', '.png', 'LOCAL', NULL, 1, 5, '老六', '用户默认头像', '2025-11-03 16:05:32', '2025-11-03 16:05:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (40, '335bad0358e64ce69c8740b4452bae1c.png', 'avatar_6_1762157132108.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/335bad0358e64ce69c8740b4452bae1c.png', '/file/download/avatar/335bad0358e64ce69c8740b4452bae1c.png', 2255, '图片', '.png', 'LOCAL', NULL, 1, 6, '小柒', '用户默认头像', '2025-11-03 16:05:32', '2025-11-03 16:05:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (41, 'bd98ea330ca54a27845d3aa6bacf95b5.png', 'avatar_7_1762157132146.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/bd98ea330ca54a27845d3aa6bacf95b5.png', '/file/download/avatar/bd98ea330ca54a27845d3aa6bacf95b5.png', 1572, '图片', '.png', 'LOCAL', NULL, 1, 7, '老王', '用户默认头像', '2025-11-03 16:05:32', '2025-11-03 16:05:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (42, '3d8954df9be9444b98ccea41a639e511.png', 'avatar_8_1762157132188.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/3d8954df9be9444b98ccea41a639e511.png', '/file/download/avatar/3d8954df9be9444b98ccea41a639e511.png', 1980, '图片', '.png', 'LOCAL', NULL, 1, 8, '测试用户', '用户默认头像', '2025-11-03 16:05:32', '2025-11-03 16:05:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (43, '192dcc06a5244c4abd7da4b8494127f0.pdf', '排版格式具体要求_converted.pdf', '/home/zapi-allin/zapi-allin-system/fileData/conversion/pdf/192dcc06a5244c4abd7da4b8494127f0.pdf', '/file/download/conversion/pdf/192dcc06a5244c4abd7da4b8494127f0.pdf', 120344, '文档', '.pdf', 'LOCAL', NULL, 1, 1, 'admin', 'Word转PDF转换结果', '2025-11-03 16:05:54', '2025-11-03 16:05:54', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (44, 'a1cb2745b7ec4384a4be300f6eb94018.docx', '测试文件1111.docx', 'a1cb2745b7ec4384a4be300f6eb94018.docx', '/file/download/a1cb2745b7ec4384a4be300f6eb94018.docx', 10389, '文档', '.docx', 'LOCAL', NULL, 1, NULL, NULL, '选择要上传的文件', '2025-11-03 16:49:25', '2025-11-03 16:49:25', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (45, '127706d96f6e4af29d3e0df31cd2ffbd.docx', '招标文件.docx', '127706d96f6e4af29d3e0df31cd2ffbd.docx', '/file/download/127706d96f6e4af29d3e0df31cd2ffbd.docx', 14875, '文档', '.docx', 'LOCAL', NULL, 1, NULL, NULL, '', '2025-11-05 10:07:07', '2025-11-05 10:07:07', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (46, '38987039e88f47b1a83f176c26c44911.png', '董事长_1762506835178.png', '/home/zapi-allin/zapi-allin-system/fileData/seal/38987039e88f47b1a83f176c26c44911.png', '/file/download/seal/38987039e88f47b1a83f176c26c44911.png', 1752, '图片', '.png', 'LOCAL', NULL, 1, 1, NULL, '用户印章：董事长', '2025-11-07 17:13:55', '2025-11-07 17:13:55', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (47, 'c4473ff9ef854762aee5565d17d2014f.png', '董事长_1762506835178.png', 'c4473ff9ef854762aee5565d17d2014f.png', '/file/download/avatar/c4473ff9ef854762aee5565d17d2014f.png', 1752, '图片', '.png', 'LOCAL', NULL, 1, NULL, NULL, '用户头像', '2025-11-07 17:15:36', '2025-11-07 17:15:36', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (48, 'ff83be903e794ea7b2b02b986c76f8d7.png', 'avatar_1_1762507000679.png', '/home/zapi-allin/zapi-allin-system/fileData/avatar/ff83be903e794ea7b2b02b986c76f8d7.png', '/file/download/avatar/ff83be903e794ea7b2b02b986c76f8d7.png', 1752, '图片', '.png', 'LOCAL', NULL, 1, 1, '董事长', '用户默认头像', '2025-11-07 17:16:41', '2025-11-07 17:16:41', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (49, '1e74ded151224e51aaa9fe520bbc6c72.pfx', '董事长_SM2_1762999295601.pfx', '/home/zapi-allin/zapi-allin-system/fileData/cert/1e74ded151224e51aaa9fe520bbc6c72.pfx', '/file/download/cert/1e74ded151224e51aaa9fe520bbc6c72.pfx', 1465, '其他', '.pfx', 'LOCAL', NULL, 1, 1, NULL, 'SM2证书：董事长', '2025-11-13 10:01:36', '2025-11-13 10:01:36', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (50, 'ef18a0b9a14e44949acebf2581a06d81.pdf', 'df1ca50159d5421aba7d31b18f627a3f.pdf', 'ef18a0b9a14e44949acebf2581a06d81.pdf', '/file/download/ef18a0b9a14e44949acebf2581a06d81.pdf', 144688, '文档', '.pdf', 'LOCAL', NULL, 1, NULL, NULL, NULL, '2025-11-13 10:02:13', '2025-11-13 10:02:13', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (51, '6f2d990382d446d984999631e87c1eb3.pdf', '6f2d990382d446d984999631e87c1eb3.pdf', '/home/zapi-allin/zapi-allin-system/fileData//sign/6f2d990382d446d984999631e87c1eb3.pdf', '/file/download/6f2d990382d446d984999631e87c1eb3.pdf/6f2d990382d446d984999631e87c1eb3.pdf', NULL, '文档', '.pdf', 'LOCAL', NULL, 1, 1, NULL, NULL, '2025-11-13 10:02:40', '2025-11-13 10:02:40', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (52, 'c71cbbc0a2244afcb13535621a142d54.pdf', 'c71cbbc0a2244afcb13535621a142d54.pdf', '/home/zapi-allin/zapi-allin-system/fileData//sign/c71cbbc0a2244afcb13535621a142d54.pdf', '/file/download/c71cbbc0a2244afcb13535621a142d54.pdf/c71cbbc0a2244afcb13535621a142d54.pdf', NULL, '文档', '.pdf', 'LOCAL', NULL, 1, 1, NULL, NULL, '2025-11-13 10:03:39', '2025-11-13 10:03:39', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (53, '2d307ef8bd2c48eda1a0058bf20121cf.pdf', '2d307ef8bd2c48eda1a0058bf20121cf.pdf', '/home/zapi-allin/zapi-allin-system/fileData//sign/2d307ef8bd2c48eda1a0058bf20121cf.pdf', '/file/download/2d307ef8bd2c48eda1a0058bf20121cf.pdf/2d307ef8bd2c48eda1a0058bf20121cf.pdf', NULL, '文档', '.pdf', 'LOCAL', NULL, 1, 1, NULL, NULL, '2025-11-13 10:12:05', '2025-11-13 10:12:05', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (54, '06afaa70f4ad4be8af9eb181810c9927.png', '董事长_1763000251809.png', '/home/zapi-allin/zapi-allin-system/fileData/seal/06afaa70f4ad4be8af9eb181810c9927.png', '/file/download/seal/06afaa70f4ad4be8af9eb181810c9927.png', 1749, '图片', '.png', 'LOCAL', NULL, 1, 1, NULL, '用户印章：董事长', '2025-11-13 10:17:32', '2025-11-13 10:17:32', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (55, '1df384d94c914951a9332be8bba06479.png', '董事长_1763000262789.png', '/home/zapi-allin/zapi-allin-system/fileData/seal/1df384d94c914951a9332be8bba06479.png', '/file/download/seal/1df384d94c914951a9332be8bba06479.png', 1620, '图片', '.png', 'LOCAL', NULL, 1, 1, NULL, '用户印章：董事长', '2025-11-13 10:17:43', '2025-11-13 10:17:43', 0);
INSERT INTO `sys_file_info` (`id`, `file_name`, `original_file_name`, `file_path`, `file_url`, `file_size`, `file_type`, `file_extension`, `storage_type`, `file_md5`, `status`, `upload_user_id`, `upload_username`, `description`, `create_time`, `update_time`, `deleted`) VALUES (56, 'f2acf62222c348edb910849fad7eb953.pfx', '董事长_RSA2048_1763000278549.pfx', '/home/zapi-allin/zapi-allin-system/fileData/cert/f2acf62222c348edb910849fad7eb953.pfx', '/file/download/cert/f2acf62222c348edb910849fad7eb953.pfx', 2782, '其他', '.pfx', 'LOCAL', NULL, 1, 1, NULL, 'RSA证书：董事长', '2025-11-13 10:17:59', '2025-11-13 10:19:33', 1);
COMMIT;

-- ----------------------------
-- Table structure for sys_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_log`;
CREATE TABLE `sys_log` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '操作用户',
  `operation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '操作描述',
  `method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '请求方法',
  `params` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '请求参数',
  `ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '请求IP',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '请求URL',
  `http_method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '请求方式',
  `execution_time` bigint DEFAULT NULL COMMENT '执行时长(毫秒)',
  `result` tinyint DEFAULT NULL COMMENT '操作结果 0-失败 1-成功',
  `error_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '错误信息',
  `user_agent` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '用户代理',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `user_id` bigint DEFAULT NULL COMMENT '操作用户ID',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10958 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='系统日志表';

-- ----------------------------
-- Records of sys_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
  `menu_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单编码',
  `menu_type` tinyint NOT NULL COMMENT '菜单类型 1-目录 2-菜单 3-按钮',
  `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '路由路径',
  `component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '组件路径',
  `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '图标',
  `sort` int DEFAULT '0' COMMENT '排序',
  `status` tinyint DEFAULT '1' COMMENT '状态 0-禁用 1-启用',
  `visible` tinyint DEFAULT '1' COMMENT '是否可见 0-隐藏 1-显示',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint DEFAULT '0' COMMENT '逻辑删除标识',
  PRIMARY KEY (`id`),
  UNIQUE KEY `menu_code` (`menu_code`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='菜单表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (1, 0, '系统管理', 'system', 1, '/system', 'Layout', 'Setting', 4, 1, 1, '2025-08-07 14:40:02', '2025-09-26 15:26:20', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (2, 1, '用户管理', 'system:user', 2, '/system/user', 'system/user/index', 'User', 1, 1, 1, '2025-08-07 14:40:02', '2025-08-07 14:40:02', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (3, 1, '角色管理', 'system:role', 2, '/system/role', 'system/role/index', 'UserFilled', 2, 1, 1, '2025-08-07 14:40:02', '2025-08-07 14:40:02', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (4, 1, '部门管理', 'system:dept', 2, '/system/dept', 'system/dept/index', 'OfficeBuilding', 3, 1, 1, '2025-08-07 14:40:02', '2025-08-07 14:40:02', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (5, 1, '菜单管理', 'system:menu', 2, '/system/menu', 'system/menu/index', 'Menu', 4, 1, 1, '2025-08-07 14:40:02', '2025-09-24 12:31:53', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (6, 1, '权限管理', 'system:permission', 2, '/system/permission', 'system/permission/index', 'Lock', 5, 1, 0, '2025-08-07 14:40:02', '2025-09-29 17:53:23', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (7, 0, '数据管理', 'dataset', 1, '/dataset', 'Layout', 'Monitor', 6, 1, 0, '2025-08-07 14:40:02', '2025-10-31 12:25:45', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (8, 1, '系统日志', 'monitor:log', 2, '/monitor/log', 'monitor/log/index', 'Document', 1, 1, 1, '2025-08-07 14:40:02', '2025-08-07 14:41:02', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (9, 0, '业务管理', 'business', 1, '/business', 'Layout', 'Briefcase', 7, 1, 0, '2025-08-07 14:40:02', '2025-09-26 15:26:52', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (10, 9, '数据分析', 'business:analytics', 2, '/analytics', 'analytics/index', 'TrendCharts', 1, 1, 0, '2025-08-07 14:40:02', '2025-09-29 17:51:16', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (11, 9, '通知管理', 'business:notification', 2, '/notifications', 'notifications/index', 'Bell', 2, 1, 0, '2025-08-07 14:40:02', '2025-09-29 17:51:20', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (12, 0, '文件管理', 'file', 1, '/file', 'Layout', 'Folder', 5, 1, 1, '2025-08-07 14:40:02', '2025-09-26 15:26:25', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (13, 12, '文件管理', 'file:management', 2, '/file', 'file/index', 'Folder', 1, 1, 1, '2025-08-07 14:40:02', '2025-08-07 14:40:02', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (14, 12, '文件上传', 'file:upload', 2, '/file/upload', 'fileupload-demo/index', 'Upload', 2, 1, 0, '2025-08-07 14:40:02', '2025-09-29 17:52:20', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (15, 1, '系统设置', 'settings', 2, '/settings', 'settings/index', 'Tools', 5, 1, 1, '2025-08-07 14:40:02', '2025-11-06 11:42:14', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (16, 17, '组件测试', 'elementuitest', 2, '/elementuitest', 'elementuitest/index', 'Document', 6, 1, 1, '2025-08-07 14:40:02', '2025-08-07 16:33:33', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (17, 0, '相关测试', 'admintest', 1, '/admintest', '', 'Apple', 9, 1, 1, '2025-08-07 15:32:04', '2025-08-07 16:32:57', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (19, 7, '数据集管理', 'dataset:manage', 2, '/dataset/manage', 'dataset/DataSetManage', 'DataBoard', 1, 1, 1, '2025-08-07 16:40:44', '2025-10-31 12:25:12', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (20, 7, '数据表管理', 'dataset:table', 2, '/dataset/table', 'dataset/DataTableManage', 'Grid', 2, 1, 1, '2025-08-07 16:40:44', '2025-10-31 12:25:16', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (21, 7, '数据源管理', 'dataset:source', 2, '/dataset/source', 'dataset/DataSourceManage', 'Connection', 3, 1, 1, '2025-08-07 16:40:44', '2025-10-31 12:25:23', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (22, 7, '数据源导出', 'dataset:export', 2, '/dataset/export', 'dataset/DataSourceExport', 'Download', 4, 1, 0, '2025-08-07 16:40:44', '2025-09-29 17:51:05', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (23, 7, '数据配置', 'dataset:index', 2, '/dataset/index', 'dataset/DatasetHomeIndex', 'Document', 0, 1, 1, '2025-08-08 09:24:26', '2025-10-31 12:25:08', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (24, 0, '工作流管理', 'workflow', 1, '/workflow', '', 'Monitor', 1, 1, 1, '2025-08-08 16:36:58', '2025-09-26 15:25:53', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (25, 24, '流程设计', '/workflowDesign', 2, '/workflow/design', 'workflow/design/index', 'FullScreen', 2, 1, 0, '2025-08-08 16:39:35', '2025-09-29 18:16:59', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (26, 24, '流程列表', 'workflowList', 2, '/workflow/list', 'workflow/list/index', 'DocumentCopy', 1, 1, 1, '2025-08-08 16:40:39', '2025-09-28 13:50:32', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (27, 0, '表单管理', 'form', 1, '/form', '', 'DocumentCopy', 2, 1, 1, '2025-09-18 09:00:52', '2025-09-26 15:25:59', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (28, 27, '表单列表', 'formList', 2, '/form', 'form/list/index', 'Coffee', 1, 1, 1, '2025-09-24 11:40:07', '2025-09-24 11:42:44', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (29, 27, '表单设计', '/formDesign', 2, '/form/design/index', 'form/design/index', 'Document', 2, 1, 0, '2025-09-24 13:24:08', '2025-09-29 17:50:35', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (30, 0, '表格管理', '/sheet', 1, '/sheet', '', 'Fold', 3, 1, 0, '2025-09-25 08:35:50', '2025-11-07 16:07:18', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (31, 30, '表格列表', '/sheetList', 2, '/sheet/list', 'sheet/list/index', 'DocumentCopy', 1, 1, 0, '2025-09-25 08:36:37', '2025-09-29 17:53:07', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (32, 30, '表格设计', '/sheetDesign', 2, '/sheet/design', 'sheet/design/index', 'DocumentAdd', 2, 1, 1, '2025-09-25 08:37:19', '2025-09-25 08:37:19', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (33, 24, '系统订单表流程发起测试', 'systemWorkFlowStart', 2, '/workflow/flowstart', 'workflow/flowstart/index', 'Warning', 3, 1, 1, '2025-09-26 11:53:15', '2025-09-29 15:12:47', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (34, 0, '任务中心', '/taskcenter', 1, '/taskcenter', '', 'AlarmClock', 0, 1, 1, '2025-09-26 15:07:16', '2025-09-26 15:12:31', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (35, 34, '全部任务', '/taskcenterAll', 2, '/taskcenter/all', 'taskcenter/all/index', 'DocumentCopy', 1, 1, 1, '2025-09-26 15:08:23', '2025-09-26 15:12:44', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (36, 34, '我的待办', '/taskcenterMyTask', 2, '/taskcenter/mytask', 'taskcenter/mytask/index', 'Clock', 2, 1, 1, '2025-09-26 15:09:30', '2025-09-28 13:50:13', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (38, 27, '数据列表', '/formData', 2, '/form/data', 'form/data/index', 'Filter', 3, 1, 1, '2025-09-29 09:21:18', '2025-09-29 09:21:18', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (39, 12, '文件转换', '/fileConversion', 2, '/file/conversion', 'file/conversion/index', 'Chicken', 3, 1, 1, '2025-11-03 15:40:43', '2025-11-03 15:40:43', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (41, 0, '电子签章', 'contract', 1, '/contract', '', 'Avatar', 0, 1, 1, '2025-11-13 09:56:10', '2025-11-13 09:56:10', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (42, 41, '合同列表', '/myContract', 2, '/contract/index', 'contract/index', 'DocumentCopy', 1, 1, 1, '2025-11-13 09:56:57', '2025-11-13 09:56:57', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (43, 41, '我的印章', 'mySeal', 2, '/system/seal', 'system/seal/index', 'Cloudy', 2, 1, 1, '2025-11-13 09:57:35', '2025-11-13 09:57:35', 0);
INSERT INTO `sys_menu` (`id`, `parent_id`, `menu_name`, `menu_code`, `menu_type`, `path`, `component`, `icon`, `sort`, `status`, `visible`, `create_time`, `update_time`, `deleted`) VALUES (44, 41, '我的证书', 'myCert', 2, '/system/cert', 'system/cert/index', 'Coordinate', 3, 1, 1, '2025-11-13 09:58:07', '2025-11-13 09:58:07', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_message
-- ----------------------------
DROP TABLE IF EXISTS `sys_message`;
CREATE TABLE `sys_message` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `title` varchar(200) NOT NULL COMMENT '消息标题',
  `content` text NOT NULL COMMENT '消息内容',
  `type` varchar(20) NOT NULL DEFAULT 'SYSTEM' COMMENT '消息类型(SYSTEM-系统消息,USER-用户消息,NOTIFICATION-通知)',
  `level` varchar(20) DEFAULT 'INFO' COMMENT '消息级别(INFO-信息,WARNING-警告,ERROR-错误,SUCCESS-成功)',
  `sender_id` bigint DEFAULT NULL COMMENT '发送者ID',
  `receiver_id` bigint DEFAULT NULL COMMENT '接收者ID(为空表示广播消息)',
  `status` varchar(20) DEFAULT 'UNREAD' COMMENT '消息状态(UNREAD-未读,READ-已读,DELETED-已删除)',
  `read_time` datetime DEFAULT NULL COMMENT '阅读时间',
  `url` varchar(500) DEFAULT NULL COMMENT '相关链接',
  `icon` varchar(100) DEFAULT NULL COMMENT '图标',
  `tag` varchar(50) DEFAULT NULL COMMENT '标签',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint(1) DEFAULT '0' COMMENT '逻辑删除标志(0-未删除,1-已删除)',
  PRIMARY KEY (`id`),
  KEY `idx_receiver_id` (`receiver_id`),
  KEY `idx_type` (`type`),
  KEY `idx_status` (`status`),
  KEY `idx_create_time` (`create_time`),
  KEY `idx_deleted` (`deleted`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='消息表';

-- ----------------------------
-- Records of sys_message
-- ----------------------------
BEGIN;
INSERT INTO `sys_message` (`id`, `title`, `content`, `type`, `level`, `sender_id`, `receiver_id`, `status`, `read_time`, `url`, `icon`, `tag`, `create_time`, `update_time`, `deleted`) VALUES (1, '系统启动通知', 'ZAPI管理系统已成功启动，所有功能正常运行。', 'SYSTEM', 'INFO', 1, NULL, 'UNREAD', NULL, NULL, NULL, NULL, '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
INSERT INTO `sys_message` (`id`, `title`, `content`, `type`, `level`, `sender_id`, `receiver_id`, `status`, `read_time`, `url`, `icon`, `tag`, `create_time`, `update_time`, `deleted`) VALUES (2, '欢迎使用数据集管理', '数据集管理模块已上线，您可以开始创建和管理数据集了。', 'SYSTEM', 'INFO', 1, NULL, 'UNREAD', NULL, NULL, NULL, NULL, '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
INSERT INTO `sys_message` (`id`, `title`, `content`, `type`, `level`, `sender_id`, `receiver_id`, `status`, `read_time`, `url`, `icon`, `tag`, `create_time`, `update_time`, `deleted`) VALUES (3, '通知系统上线', '通知系统模块已上线，支持站内消息、实时消息等功能。', 'SYSTEM', 'INFO', 1, NULL, 'UNREAD', NULL, NULL, NULL, NULL, '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_message_template
-- ----------------------------
DROP TABLE IF EXISTS `sys_message_template`;
CREATE TABLE `sys_message_template` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `template_code` varchar(100) NOT NULL COMMENT '模板编码',
  `template_name` varchar(200) NOT NULL COMMENT '模板名称',
  `title` varchar(200) NOT NULL COMMENT '消息标题',
  `content` text NOT NULL COMMENT '消息内容',
  `type` varchar(20) NOT NULL DEFAULT 'SYSTEM' COMMENT '消息类型(SYSTEM-系统消息,USER-用户消息,NOTIFICATION-通知)',
  `level` varchar(20) DEFAULT 'INFO' COMMENT '消息级别(INFO-信息,WARNING-警告,ERROR-错误,SUCCESS-成功)',
  `status` varchar(20) DEFAULT 'ENABLED' COMMENT '状态(ENABLED-启用,DISABLED-禁用)',
  `description` varchar(500) DEFAULT NULL COMMENT '描述',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint(1) DEFAULT '0' COMMENT '逻辑删除标志(0-未删除,1-已删除)',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_template_code` (`template_code`),
  KEY `idx_type` (`type`),
  KEY `idx_status` (`status`),
  KEY `idx_deleted` (`deleted`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='消息模板表';

-- ----------------------------
-- Records of sys_message_template
-- ----------------------------
BEGIN;
INSERT INTO `sys_message_template` (`id`, `template_code`, `template_name`, `title`, `content`, `type`, `level`, `status`, `description`, `create_time`, `update_time`, `deleted`) VALUES (1, 'USER_WELCOME', '用户欢迎消息', '欢迎加入ZAPI管理系统', '亲爱的{userName}，欢迎您加入ZAPI管理系统！您的账号已成功创建，账号：{username}。', 'USER', 'INFO', 'ENABLED', '新用户注册时的欢迎消息', '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
INSERT INTO `sys_message_template` (`id`, `template_code`, `template_name`, `title`, `content`, `type`, `level`, `status`, `description`, `create_time`, `update_time`, `deleted`) VALUES (2, 'SYSTEM_MAINTENANCE', '系统维护通知', '系统维护通知', '系统将于{startTime}进行维护，预计维护时间{duration}，期间可能影响正常使用，请提前做好准备。', 'SYSTEM', 'WARNING', 'ENABLED', '系统维护通知模板', '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
INSERT INTO `sys_message_template` (`id`, `template_code`, `template_name`, `title`, `content`, `type`, `level`, `status`, `description`, `create_time`, `update_time`, `deleted`) VALUES (3, 'PASSWORD_RESET', '密码重置通知', '密码重置成功', '您的密码已成功重置，新密码：{newPassword}，请及时修改密码。', 'USER', 'INFO', 'ENABLED', '密码重置成功通知', '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
INSERT INTO `sys_message_template` (`id`, `template_code`, `template_name`, `title`, `content`, `type`, `level`, `status`, `description`, `create_time`, `update_time`, `deleted`) VALUES (4, 'LOGIN_SUCCESS', '登录成功通知', '登录成功', '您的账号于{loginTime}在{loginLocation}成功登录，如非本人操作，请及时修改密码。', 'USER', 'INFO', 'ENABLED', '登录成功通知', '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
INSERT INTO `sys_message_template` (`id`, `template_code`, `template_name`, `title`, `content`, `type`, `level`, `status`, `description`, `create_time`, `update_time`, `deleted`) VALUES (5, 'DATA_EXPORT', '数据导出完成', '数据导出完成', '您申请的数据导出任务已完成，文件：{fileName}，大小：{fileSize}，下载链接：{downloadUrl}。', 'NOTIFICATION', 'SUCCESS', 'ENABLED', '数据导出完成通知', '2025-08-07 17:18:39', '2025-08-07 17:18:39', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_permission
-- ----------------------------
DROP TABLE IF EXISTS `sys_permission`;
CREATE TABLE `sys_permission` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `permission_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '权限名称',
  `permission_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '权限编码',
  `permission_type` tinyint NOT NULL COMMENT '权限类型 1-菜单权限 2-按钮权限 3-数据权限',
  `menu_id` bigint DEFAULT NULL COMMENT '关联菜单ID',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '权限描述',
  `status` tinyint DEFAULT '1' COMMENT '状态 0-禁用 1-启用',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint DEFAULT '0' COMMENT '逻辑删除标识',
  PRIMARY KEY (`id`),
  UNIQUE KEY `permission_code` (`permission_code`)
) ENGINE=InnoDB AUTO_INCREMENT=86 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='权限表';

-- ----------------------------
-- Records of sys_permission
-- ----------------------------
BEGIN;
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (57, '用户查询', 'system:user:query', 1, 2, '查询用户信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (58, '用户新增', 'system:user:add', 2, 2, '新增用户', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (59, '用户修改', 'system:user:edit', 2, 2, '修改用户信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (60, '用户删除', 'system:user:delete', 2, 2, '删除用户', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (61, '角色查询', 'system:role:query', 1, 3, '查询角色信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (62, '角色新增', 'system:role:add', 2, 3, '新增角色', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (63, '角色修改', 'system:role:edit', 2, 3, '修改角色信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (64, '角色删除', 'system:role:delete', 2, 3, '删除角色', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (65, '部门查询', 'system:dept:query', 1, 4, '查询部门信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (66, '部门新增', 'system:dept:add', 2, 4, '新增部门', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (67, '部门修改', 'system:dept:edit', 2, 4, '修改部门信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (68, '部门删除', 'system:dept:delete', 2, 4, '删除部门', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (69, '菜单查询', 'system:menu:query', 1, 5, '查询菜单信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (70, '菜单新增', 'system:menu:add', 2, 5, '新增菜单', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (71, '菜单修改', 'system:menu:edit', 2, 5, '修改菜单信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (72, '菜单删除', 'system:menu:delete', 2, 5, '删除菜单', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (73, '权限查询', 'system:permission:query', 1, 6, '查询权限信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (74, '权限新增', 'system:permission:add', 2, 6, '新增权限', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (75, '权限修改', 'system:permission:edit', 2, 6, '修改权限信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (76, '权限删除', 'system:permission:delete', 2, 6, '删除权限', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (77, '日志查询', 'monitor:log:query', 1, 8, '查询系统日志', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (78, '日志删除', 'monitor:log:delete', 2, 8, '删除系统日志', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (79, '数据分析', 'business:analytics:view', 1, 10, '查看数据分析', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (80, '通知查询', 'business:notification:query', 1, 11, '查询通知信息', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (81, '通知发送', 'business:notification:send', 2, 11, '发送通知', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (82, '文件管理', 'file:management:view', 1, 12, '查看文件管理', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (83, '文件上传', 'file:upload:view', 1, 13, '查看文件上传', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (84, '系统设置查看', 'settings:view', 1, 14, '查看系统设置', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
INSERT INTO `sys_permission` (`id`, `permission_name`, `permission_code`, `permission_type`, `menu_id`, `description`, `status`, `create_time`, `update_time`, `deleted`) VALUES (85, '组件测试查看', 'elementuitest:view', 1, 15, '查看组件测试页面', 1, '2025-08-07 13:55:27', '2025-08-07 13:55:27', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `role_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
  `role_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色编码',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '角色描述',
  `status` tinyint DEFAULT '1' COMMENT '状态 0-禁用 1-启用',
  `sort` int DEFAULT '0' COMMENT '排序',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint DEFAULT '0' COMMENT '逻辑删除标识',
  PRIMARY KEY (`id`),
  UNIQUE KEY `role_code` (`role_code`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` (`id`, `role_name`, `role_code`, `description`, `status`, `sort`, `create_time`, `update_time`, `deleted`) VALUES (1, '超级管理员', 'SUPER_ADMIN', '系统超级管理员', 1, 1, '2025-08-07 09:17:40', '2025-08-07 09:17:40', 0);
INSERT INTO `sys_role` (`id`, `role_name`, `role_code`, `description`, `status`, `sort`, `create_time`, `update_time`, `deleted`) VALUES (2, '管理员', 'ADMIN', '系统管理员', 1, 2, '2025-08-07 09:17:40', '2025-08-07 09:17:40', 0);
INSERT INTO `sys_role` (`id`, `role_name`, `role_code`, `description`, `status`, `sort`, `create_time`, `update_time`, `deleted`) VALUES (3, '普通用户', 'USER', '普通用户', 1, 3, '2025-08-07 09:17:40', '2025-08-07 09:17:40', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_role_permission
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_permission`;
CREATE TABLE `sys_role_permission` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `permission_id` bigint NOT NULL COMMENT '权限ID',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_role_permission` (`role_id`,`permission_id`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色权限关联表';

-- ----------------------------
-- Records of sys_role_permission
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (1, 1, 23, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (2, 1, 24, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (3, 1, 25, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (4, 1, 22, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (5, 1, 21, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (6, 1, 10, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (7, 1, 12, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (8, 1, 11, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (9, 1, 9, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (10, 1, 14, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (11, 1, 16, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (12, 1, 15, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (13, 1, 13, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (14, 1, 18, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (15, 1, 20, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (16, 1, 19, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (17, 1, 17, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (18, 1, 6, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (19, 1, 8, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (20, 1, 7, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (21, 1, 5, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (22, 1, 2, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (23, 1, 4, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (24, 1, 3, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (25, 1, 1, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (32, 2, 23, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (33, 2, 24, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (34, 2, 21, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (35, 2, 10, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (36, 2, 11, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (37, 2, 9, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (38, 2, 5, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (39, 2, 2, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (40, 2, 3, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (41, 2, 1, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (47, 3, 23, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (48, 3, 24, '2025-08-07 09:17:40');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (50, 1, 27, '2025-08-07 13:07:38');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (51, 1, 26, '2025-08-07 13:07:38');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (53, 2, 27, '2025-08-07 13:07:38');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (54, 2, 26, '2025-08-07 13:07:38');
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `create_time`) VALUES (56, 3, 27, '2025-08-07 13:07:38');
COMMIT;

-- ----------------------------
-- Table structure for sys_statistics
-- ----------------------------
DROP TABLE IF EXISTS `sys_statistics`;
CREATE TABLE `sys_statistics` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `stat_date` date NOT NULL COMMENT '统计日期',
  `login_count` int DEFAULT '0' COMMENT '登录访问次数',
  `click_count` int DEFAULT '0' COMMENT '系统点击次数',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_stat_date` (`stat_date`),
  KEY `idx_stat_date` (`stat_date`)
) ENGINE=InnoDB AUTO_INCREMENT=5059 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='系统访问统计表';

-- ----------------------------
-- Records of sys_statistics
-- ----------------------------
BEGIN;
INSERT INTO `sys_statistics` (`id`, `stat_date`, `login_count`, `click_count`, `create_time`, `update_time`) VALUES (1, '2025-11-07', 3, 422, '2025-11-07 15:32:21', '2025-11-07 18:30:39');
INSERT INTO `sys_statistics` (`id`, `stat_date`, `login_count`, `click_count`, `create_time`, `update_time`) VALUES (427, '2025-11-08', 0, 766, '2025-11-08 17:37:24', '2025-11-08 23:59:24');
INSERT INTO `sys_statistics` (`id`, `stat_date`, `login_count`, `click_count`, `create_time`, `update_time`) VALUES (1193, '2025-11-09', 0, 2701, '2025-11-09 00:00:24', '2025-11-09 23:59:35');
INSERT INTO `sys_statistics` (`id`, `stat_date`, `login_count`, `click_count`, `create_time`, `update_time`) VALUES (3894, '2025-11-10', 2, 708, '2025-11-10 00:01:25', '2025-11-10 12:43:10');
INSERT INTO `sys_statistics` (`id`, `stat_date`, `login_count`, `click_count`, `create_time`, `update_time`) VALUES (4604, '2025-11-11', 0, 121, '2025-11-11 09:12:49', '2025-11-11 09:12:56');
INSERT INTO `sys_statistics` (`id`, `stat_date`, `login_count`, `click_count`, `create_time`, `update_time`) VALUES (4725, '2025-11-12', 3, 114, '2025-11-12 10:05:02', '2025-11-12 20:16:51');
INSERT INTO `sys_statistics` (`id`, `stat_date`, `login_count`, `click_count`, `create_time`, `update_time`) VALUES (4842, '2025-11-13', 2, 215, '2025-11-13 09:52:26', '2025-11-13 10:19:33');
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码',
  `real_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '真实姓名',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '邮箱',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '手机号',
  `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '头像',
  `gender` tinyint DEFAULT '0' COMMENT '性别 0-未知 1-男 2-女',
  `status` tinyint DEFAULT '1' COMMENT '状态 0-禁用 1-启用',
  `dept_id` bigint DEFAULT NULL COMMENT '部门ID',
  `role_id` bigint DEFAULT NULL COMMENT '角色ID',
  `last_login_time` datetime DEFAULT NULL COMMENT '最后登录时间',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint DEFAULT '0' COMMENT '逻辑删除标识',
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (1, 'admin', '$2a$10$ON1OABweiMk/Hc4MflWAtO/gwvU.xLNaetSDpmZW75ozntcx0dkwq', '董事长', 'admin@zapi.com', '13800138000', '48', 1, 1, 1, 1, '2025-11-13 10:08:43', '2025-08-07 09:17:40', '2025-11-07 17:16:24', 0);
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (2, 'zhangsan', '$2a$10$ON1OABweiMk/Hc4MflWAtO/gwvU.xLNaetSDpmZW75ozntcx0dkwq', '张三', 'zhangsan@zapi.com', '13800138001', '36', 1, 1, 2, 2, '2025-10-14 14:14:08', '2025-08-07 09:17:40', '2025-11-03 16:05:15', 0);
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (3, 'lisi', '$2a$10$ON1OABweiMk/Hc4MflWAtO/gwvU.xLNaetSDpmZW75ozntcx0dkwq', '李四', 'lisi@zapi.com', '13800138002', '37', 2, 1, 3, 3, '2025-10-24 15:49:09', '2025-08-07 09:17:40', '2025-11-03 16:05:16', 0);
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (4, 'wangwu', '$2a$10$nyYE6OUJlj0OoD0NrqtY8.wQiQVKWz87ofPplAPORJgfR0fHzH/pO', '王五', 'wangwu@example.com', '13800138002', '38', 0, 1, NULL, NULL, NULL, '2025-10-17 12:25:58', '2025-11-03 16:05:17', 0);
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (5, 'lao6', '$2a$10$14iNXAhZVGO1gwcqu4T/0u0.1LY6VFyB/gO1rZa5LXTTCb/LGWbYq', '老六', 'lao6@example.com', '13800138006', '39', 0, 1, NULL, NULL, NULL, '2025-10-17 16:39:56', '2025-11-03 16:05:18', 0);
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (6, 'xiaoqi', '$2a$10$o8IkFODuKGofsNS8lM39eukQyLo9YwXhmA05ciuen82mSqbiOqih2', '小柒', 'xiaoqi@example.com', '13800138002', '40', 0, 1, NULL, NULL, NULL, '2025-10-17 18:00:31', '2025-11-03 16:05:18', 0);
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (7, 'laowang', '$2a$10$gdR3MunjF2/0Stud.OKBgOf2K4Oaxv1l4zIwIaGBdhO49QDdGQywS', '老王', 'laowang@example.com', '13800138002', '41', 0, 1, NULL, NULL, NULL, '2025-10-24 13:39:39', '2025-11-03 16:05:21', 0);
INSERT INTO `sys_user` (`id`, `username`, `password`, `real_name`, `email`, `phone`, `avatar`, `gender`, `status`, `dept_id`, `role_id`, `last_login_time`, `create_time`, `update_time`, `deleted`) VALUES (8, 'testuser', '$2a$10$ImlQEcSZ2P3DAgSm674/q.MbVD.5o3ePWP1ZVX6QIYCCF7I79od1y', '测试用户', 'testuser@example.com', '13800138000', '42', 0, 1, NULL, NULL, NULL, '2025-10-29 18:10:56', '2025-11-03 16:05:20', 0);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_cert_info
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_cert_info`;
CREATE TABLE `sys_user_cert_info` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `user_id` bigint DEFAULT NULL COMMENT '用户ID',
  `cert_url` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '证书地址(关联文件表uid)',
  `cert_pwd` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '证书密码',
  `cert_num` int DEFAULT NULL COMMENT '证书位数',
  `cert_c` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'C项 国家',
  `cert_st` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'ST项 省份',
  `cert_l` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'L项 城市',
  `cert_o` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'O项 公用信息/O 单位统一社会信用代码、个人身份证',
  `cert_cn` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'CN项 公用名/CN',
  `cert_ou` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'OU项 部门/OU',
  `cert_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '证书类型',
  `cert_public_key` blob COMMENT '公钥',
  `cert_valid_time` int DEFAULT NULL COMMENT '证书有效期(单位/天)',
  `cert_not_before` datetime DEFAULT NULL COMMENT '证书生成时间',
  `cert_not_after` datetime DEFAULT NULL COMMENT '证书失效时间',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='我的证书信息表';

-- ----------------------------
-- Records of sys_user_cert_info
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_cert_info` (`id`, `user_id`, `cert_url`, `cert_pwd`, `cert_num`, `cert_c`, `cert_st`, `cert_l`, `cert_o`, `cert_cn`, `cert_ou`, `cert_type`, `cert_public_key`, `cert_valid_time`, `cert_not_before`, `cert_not_after`, `create_time`, `update_time`) VALUES (2, 1, '49', '123456', 256, 'CN', '湖南省', '长沙市', '4306XXXXXXXX1313', '董事长', '知录API', 'SM2', 0x308201333081EC06072A8648CE3D02013081E0020101302C06072A8648CE3D0101022100FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFF30440420FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFC042028E9FA9E9D9F5E344D5A9E4BCF6509A7F39789F515AB8F92DDBCBD414D940E9304410432C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7BC3736A2F4F6779C59BDCEE36B692153D0A9877CC62A474002DF32E52139F0A0022100FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFF7203DF6B21C6052B53BBF40939D54123020101034200048396CD7B7EF4A5A60468B5628E22FAB1D2B88D70326B2EEE2E18BD8FAB4AF5E210B1FE00830C5F72B87BEC4E4EB2BC545A07232283A48FA9215A8A38844B8CB9, 365, '2025-11-13 10:01:36', '2026-11-13 10:01:36', '2025-11-13 10:01:36', '2025-11-13 10:01:36');
COMMIT;

-- ----------------------------
-- Table structure for sys_user_seal
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_seal`;
CREATE TABLE `sys_user_seal` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `seal_name` varchar(100) NOT NULL COMMENT '印章名称',
  `seal_type` varchar(20) NOT NULL COMMENT '印章类型：ROUND-圆章，SQUARE-方章，ELLIPSE-椭圆章',
  `file_id` bigint DEFAULT NULL COMMENT '文件ID',
  `file_url` varchar(500) DEFAULT NULL COMMENT '文件URL',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态：0-停用，1-启用',
  `sort_order` int NOT NULL DEFAULT '0' COMMENT '排序',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_user_id` (`user_id`),
  KEY `idx_status` (`status`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户印章表';

-- ----------------------------
-- Records of sys_user_seal
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_seal` (`id`, `user_id`, `seal_name`, `seal_type`, `file_id`, `file_url`, `status`, `sort_order`, `remark`, `create_time`, `update_time`) VALUES (1, 1, '董事长', 'SQUARE_NO_BORDER', 46, '/home/zapi-allin/zapi-allin-system/fileData/seal/38987039e88f47b1a83f176c26c44911.png', 1, 0, NULL, '2025-11-07 17:13:55', '2025-11-07 17:13:55');
INSERT INTO `sys_user_seal` (`id`, `user_id`, `seal_name`, `seal_type`, `file_id`, `file_url`, `status`, `sort_order`, `remark`, `create_time`, `update_time`) VALUES (2, 1, '董事长', 'SQUARE_BORDER', 54, '/home/zapi-allin/zapi-allin-system/fileData/seal/06afaa70f4ad4be8af9eb181810c9927.png', 1, 1, NULL, '2025-11-13 10:17:32', '2025-11-13 10:17:32');
INSERT INTO `sys_user_seal` (`id`, `user_id`, `seal_name`, `seal_type`, `file_id`, `file_url`, `status`, `sort_order`, `remark`, `create_time`, `update_time`) VALUES (3, 1, '董事长', 'SQUARE_3', 55, '/home/zapi-allin/zapi-allin-system/fileData/seal/1df384d94c914951a9332be8bba06479.png', 1, 2, NULL, '2025-11-13 10:17:43', '2025-11-13 10:17:43');
COMMIT;

-- ----------------------------
-- Table structure for wf_history_activity
-- ----------------------------
DROP TABLE IF EXISTS `wf_history_activity`;
CREATE TABLE `wf_history_activity` (
  `id` varchar(64) NOT NULL COMMENT '记录ID',
  `process_instance_id` varchar(64) NOT NULL COMMENT '流程实例ID',
  `node_id` varchar(64) NOT NULL COMMENT '节点ID',
  `node_name` varchar(255) NOT NULL COMMENT '节点名称',
  `node_type` varchar(20) NOT NULL COMMENT '节点类型：START/APPROVAL/CONDITIONAL_BRANCH/END',
  `start_time` datetime NOT NULL COMMENT '节点开始时间',
  `end_time` datetime DEFAULT NULL COMMENT '节点结束时间',
  `duration` bigint DEFAULT NULL COMMENT '耗时(毫秒)',
  `operator` varchar(64) DEFAULT NULL COMMENT '操作人',
  `comment` varchar(512) DEFAULT NULL COMMENT '操作备注',
  PRIMARY KEY (`id`),
  KEY `idx_process_instance` (`process_instance_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='流程活动历史表';

-- ----------------------------
-- Records of wf_history_activity
-- ----------------------------
BEGIN;
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('01e39d9617cf51fd6ddabb15199f99f6', '03f17e9125f1689a752a4bf8e7d0403f', 'start_1759109351468', '开始', 'START', '2025-09-29 17:06:24', '2025-09-29 17:06:24', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('11060341f3ea44dd12c7d1b3ccec2cbb', '5ebf3c3941be663f7846454c06f329c1', 'approval_1758861162241', '审批节点', 'APPROVAL', '2025-10-24 15:48:35', '2025-10-24 15:49:21', 45933, '3', '审批通过：dsafdsafsdafs');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('1ad8bcf890819d2eb9653d3d39019dc6', 'a554b707c58a0fd48f38775c63e3e094', 'approval_1759109352961', '审批节点', 'APPROVAL', '2025-09-29 18:23:49', '2025-10-14 14:13:33', 1280984149, '3', '审批通过：2222');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('2109599c76c89bb0d230c9243a0d8927', 'd231f898b5c0260d759b8a69a2d0fdde', 'approval_1758861162241', '审批节点', 'APPROVAL', '2025-10-02 20:38:10', '2025-10-14 14:13:28', 1013717578, '3', '审批通过：1111');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('390d35c965411311a241b2b19c27748d', 'eaa95eec270d7aae9e1c78198e94dbd9', 'start_1759109351468', '开始', 'START', '2025-09-29 17:20:53', '2025-09-29 17:20:53', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('3ca805d5e3d59e3e6a9873b071fdd022', '40e6a5d44045729857d0405facbc2575', 'end', '结束', 'END', '2025-09-29 17:23:26', '2025-09-29 17:23:26', 0, '1', '流程结束');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('3e14ffc7a26d16069aeb8d078ba47fe7', 'ac95b01d41453abf75de0616d8586e95', 'conditional_branch_1760595684266', '条件分支', 'CONDITIONAL_BRANCH', '2025-10-16 14:23:53', '2025-10-16 14:23:53', 0, '1', '条件路由: ${field_input_5vm3s66k0 != \'李四\'}');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('41396d0ee6adca81e4de77f2df874f53', 'a777a81748eea55be2eee5392d5ae9ca', 'end', '结束', 'END', '2025-10-17 12:27:39', '2025-10-17 12:27:39', 0, '1', '流程结束');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('58ac4476048a70ae47adb27f800edb8a', '75c27ae7c420a6c1a0af7ffe0a07e537', 'approval_1759109352961', '李四审批', 'APPROVAL', '2025-10-14 14:14:42', '2025-10-14 14:16:13', 90603, '3', '审批驳回：不同意  你说审就审批啊');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('5a1808da06b64a3280401d711be724f3', '5ebf3c3941be663f7846454c06f329c1', 'end', '结束', 'END', '2025-10-24 15:49:21', '2025-10-24 15:49:21', 0, '1', '流程结束');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('5bfd37f7a96db3b7474f46f9e9de8c8a', 'af2560c3aea642d750475367f99e6d4e', 'approval_1759109352961', '审批节点', 'APPROVAL', '2025-09-29 09:29:48', '2025-09-29 09:30:03', 14874, '1', '审批驳回：不同意');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('5f69c8179624793e4d9b4c5baff186dd', 'd4fbb404d90de529c0aca5d642c3389b', 'approval_1758861162241', '审批节点', 'APPROVAL', '2025-09-28 14:02:43', '2025-09-28 14:06:30', 227458, '1', '审批通过：要的 ，要是少了，继续采购');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('6500d15a7d256720504d0d28bb9b8a4f', 'd4fbb404d90de529c0aca5d642c3389b', 'end', '结束', 'END', '2025-09-28 14:06:30', '2025-09-28 14:06:30', 0, '1', '流程结束');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('6c03daf8d3dcdcd27900cc95951d7171', '03f17e9125f1689a752a4bf8e7d0403f', 'end', '结束', 'END', '2025-10-14 14:14:16', '2025-10-14 14:14:16', 0, '1', '流程结束');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('81a0d095af27d6c1bda44d47047e9eef', 'a777a81748eea55be2eee5392d5ae9ca', 'start_1760595680371', '开始', 'START', '2025-10-16 14:24:21', '2025-10-16 14:24:21', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('8900f98636a502f5435f6df0bb5257f4', 'a554b707c58a0fd48f38775c63e3e094', 'start_1759109351468', '开始', 'START', '2025-09-29 18:23:49', '2025-09-29 18:23:49', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('93d2036180f00297b8d337293df71a98', 'ac95b01d41453abf75de0616d8586e95', 'start_1760595680371', '开始', 'START', '2025-10-16 14:23:53', '2025-10-16 14:23:53', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('95085c4b51124495e924c033a12b074d', 'd231f898b5c0260d759b8a69a2d0fdde', 'start_1758861160127', '开始', 'START', '2025-10-02 20:38:10', '2025-10-02 20:38:10', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('9bb481515facd8d38e5c8f0b819ba586', '75c27ae7c420a6c1a0af7ffe0a07e537', 'start_1759109351468', '开始', 'START', '2025-10-14 14:14:42', '2025-10-14 14:14:42', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('a6b4d6763f2be2ae539a2e56a4a55ef0', 'a777a81748eea55be2eee5392d5ae9ca', 'approval_1760595692053', '自选审批节点', 'APPROVAL', '2025-10-16 14:24:21', '2025-10-17 12:27:39', 79398357, '1', '审批通过：111');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('a88162558a7fbe8d6ec39003e1b1ba52', 'd231f898b5c0260d759b8a69a2d0fdde', 'end', '结束', 'END', '2025-10-14 14:13:28', '2025-10-14 14:13:28', 0, '1', '流程结束');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('ac578968ecc97a33b84a2f19a66dcdfe', 'af2560c3aea642d750475367f99e6d4e', 'start_1759109351468', '开始', 'START', '2025-09-29 09:29:48', '2025-09-29 09:29:48', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('b25fc36433f578aaa2281d15e69f7989', '5ebf3c3941be663f7846454c06f329c1', 'start_1758861160127', '开始', 'START', '2025-10-24 15:48:35', '2025-10-24 15:48:35', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('c997d30fe68fdb85c9af6386be28d78c', 'a777a81748eea55be2eee5392d5ae9ca', 'conditional_branch_1760595684266', '条件分支', 'CONDITIONAL_BRANCH', '2025-10-16 14:24:21', '2025-10-16 14:24:21', 0, '1', '条件路由: ${field_input_5vm3s66k0 != \'李四\'}');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('d4ac061ef4097315722df1fa79e7d725', '40e6a5d44045729857d0405facbc2575', 'start_1758861160127', '开始', 'START', '2025-09-29 17:22:48', '2025-09-29 17:22:48', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('dd984b135fd5ef313fb4c9505a1ca33e', '75c27ae7c420a6c1a0af7ffe0a07e537', 'conditional_branch_1760422207495', '条件分支', 'CONDITIONAL_BRANCH', '2025-10-14 14:14:42', '2025-10-14 14:14:42', 0, '1', '条件路由: ${field_input_8cnzsieaq == \'李四\'}');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('e2321389b6de465c46898f4e69d95568', '40e6a5d44045729857d0405facbc2575', 'approval_1758861162241', '审批节点', 'APPROVAL', '2025-09-29 17:22:48', '2025-09-29 17:23:26', 37779, '3', '审批通过：niubi');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('e77ea147f808208346c4e9d3b63e07a5', '03f17e9125f1689a752a4bf8e7d0403f', 'approval_1759109352961', '审批节点', 'APPROVAL', '2025-09-29 17:06:24', '2025-10-14 14:14:16', 1285672065, '2', '审批通过：111');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('ec57b2bf61cb24debc973236ea701dbd', 'a554b707c58a0fd48f38775c63e3e094', 'end', '结束', 'END', '2025-10-14 14:13:33', '2025-10-14 14:13:33', 0, '1', '流程结束');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('ee79b108a3d40997ed168a8fe88e8d34', 'd4fbb404d90de529c0aca5d642c3389b', 'start_1758861160127', '开始', 'START', '2025-09-28 14:02:43', '2025-09-28 14:02:43', 0, '1', '流程启动');
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('f929974c2b5b8d767abbdf819e8df479', 'ac95b01d41453abf75de0616d8586e95', 'approval_1760595692053', '自选审批节点', 'APPROVAL', '2025-10-16 14:23:53', NULL, NULL, '1', NULL);
INSERT INTO `wf_history_activity` (`id`, `process_instance_id`, `node_id`, `node_name`, `node_type`, `start_time`, `end_time`, `duration`, `operator`, `comment`) VALUES ('fd39155155ea855ef003f62deee2858f', 'eaa95eec270d7aae9e1c78198e94dbd9', 'approval_1759109352961', '审批节点', 'APPROVAL', '2025-09-29 17:20:53', '2025-09-29 17:21:25', 32422, '3', '审批驳回：00000');
COMMIT;

-- ----------------------------
-- Table structure for wf_process_definition
-- ----------------------------
DROP TABLE IF EXISTS `wf_process_definition`;
CREATE TABLE `wf_process_definition` (
  `id` varchar(64) NOT NULL COMMENT '流程定义ID',
  `name` varchar(255) NOT NULL COMMENT '流程名称',
  `key` varchar(100) NOT NULL COMMENT '流程标识（用于区分不同版本）',
  `version` int NOT NULL DEFAULT '1' COMMENT '流程版本号',
  `json_def` text NOT NULL COMMENT 'JSON格式的流程定义',
  `status` tinyint NOT NULL DEFAULT '1' COMMENT '状态：1-激活 0-禁用',
  `description` varchar(512) DEFAULT NULL COMMENT '流程描述',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `business_type` tinyint NOT NULL DEFAULT '1' COMMENT '业务类型：1-系统表单 2-业务表单',
  `business_form_id` varchar(64) DEFAULT NULL COMMENT '业务表单ID（业务表单类型时使用）',
  `system_form_key` varchar(100) DEFAULT NULL COMMENT '系统表单标识（系统表单类型时使用）',
  `priority` tinyint DEFAULT '0' COMMENT '流程优先级：0-普通 1-高 2-中 3-低',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_key_version` (`key`,`version`) COMMENT '同标识不同版本唯一'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='流程定义表';

-- ----------------------------
-- Records of wf_process_definition
-- ----------------------------
BEGIN;
INSERT INTO `wf_process_definition` (`id`, `name`, `key`, `version`, `json_def`, `status`, `description`, `create_time`, `update_time`, `business_type`, `business_form_id`, `system_form_key`, `priority`) VALUES ('4280ac1af6a30e53cd9e387e998a6feb', '测试业务流程1111', 'process_1759109349404', 1, '{\"id\":\"4280ac1af6a30e53cd9e387e998a6feb\",\"name\":\"测试业务流程1111\",\"key\":\"process_1759109349404\",\"description\":\"\",\"variables\":[{\"name\":\"field_input_8cnzsieaq\",\"type\":\"string\",\"label\":\"姓名\",\"required\":false,\"defaultValue\":\"\"},{\"name\":\"field_textarea_xwodq2zb2\",\"type\":\"string\",\"label\":\"描述\",\"required\":false,\"defaultValue\":\"\"}],\"nodes\":[{\"id\":\"start_1759109351468\",\"name\":\"开始\",\"type\":\"START\",\"position\":{\"x\":50,\"y\":50},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"approval_1759109352961\",\"name\":\"李四审批\",\"type\":\"APPROVAL\",\"position\":{\"x\":533,\"y\":50},\"assigneeType\":\"FIXED\",\"assignee\":\"3\",\"formKey\":\"\",\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"end_1759109358444\",\"name\":\"结束\",\"type\":\"END\",\"position\":{\"x\":996,\"y\":183},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"conditional_branch_1760422207495\",\"name\":\"条件分支\",\"type\":\"CONDITIONAL_BRANCH\",\"position\":{\"x\":248,\"y\":218},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":\"flow_1760422297433\"},{\"id\":\"approval_1760422214274\",\"name\":\"张三审批\",\"type\":\"APPROVAL\",\"position\":{\"x\":556,\"y\":412},\"assigneeType\":\"FIXED\",\"assignee\":\"2\",\"formKey\":\"\",\"allowReject\":true,\"priority\":2,\"defaultFlow\":null}],\"flows\":[{\"id\":\"flow_1759109361661\",\"name\":\"\",\"from\":\"approval_1759109352961\",\"to\":\"end_1759109358444\",\"condition\":null},{\"id\":\"flow_1760422217149\",\"name\":\"\",\"from\":\"conditional_branch_1760422207495\",\"to\":\"approval_1759109352961\",\"condition\":\"${field_input_8cnzsieaq == \'李四\'}\"},{\"id\":\"flow_1760422220534\",\"name\":\"\",\"from\":\"conditional_branch_1760422207495\",\"to\":\"approval_1760422214274\",\"condition\":\"${field_input_8cnzsieaq == \'张三\'}\"},{\"id\":\"flow_1760422223502\",\"name\":\"\",\"from\":\"start_1759109351468\",\"to\":\"conditional_branch_1760422207495\",\"condition\":null},{\"id\":\"flow_1760422273343\",\"name\":\"\",\"from\":\"approval_1760422214274\",\"to\":\"end_1759109358444\",\"condition\":null}],\"businessType\":2,\"businessFormId\":\"09a7d84ade07d5b55d12f53414939d6c\",\"systemFormKey\":null,\"priority\":null}', 1, '', '2025-09-29 09:29:30', '2025-10-15 17:15:21', 2, '09a7d84ade07d5b55d12f53414939d6c', NULL, 0);
INSERT INTO `wf_process_definition` (`id`, `name`, `key`, `version`, `json_def`, `status`, `description`, `create_time`, `update_time`, `business_type`, `business_form_id`, `system_form_key`, `priority`) VALUES ('b1d65f21891143e0eb195e50c71cceb4', '流程审批zz0002', 'process_1760595674611', 1, '{\"id\":null,\"name\":\"流程审批zz0002\",\"key\":\"process_1760595674611\",\"description\":\"\",\"variables\":[{\"name\":\"field_input_5vm3s66k0\",\"type\":\"string\",\"label\":\"姓名\",\"required\":false,\"defaultValue\":\"\"},{\"name\":\"field_textarea_ny9feh80r\",\"type\":\"string\",\"label\":\"描述\",\"required\":false,\"defaultValue\":\"\"},{\"name\":\"field_select_qz6ctxlsn\",\"type\":\"string\",\"label\":\"审核人\",\"required\":false,\"defaultValue\":\"\"}],\"nodes\":[{\"id\":\"start_1760595680371\",\"name\":\"开始\",\"type\":\"START\",\"position\":{\"x\":50,\"y\":50},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"conditional_branch_1760595684266\",\"name\":\"条件分支\",\"type\":\"CONDITIONAL_BRANCH\",\"position\":{\"x\":58,\"y\":279},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":\"flow_1760595705084\"},{\"id\":\"approval_1760595692053\",\"name\":\"自选审批节点\",\"type\":\"APPROVAL\",\"position\":{\"x\":391,\"y\":170},\"assigneeType\":\"DYNAMIC\",\"assignee\":\"field_select_qz6ctxlsn\",\"formKey\":\"\",\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"approval_1760595693836\",\"name\":\"李四审批节点\",\"type\":\"APPROVAL\",\"position\":{\"x\":376,\"y\":409},\"assigneeType\":\"FIXED\",\"assignee\":\"3\",\"formKey\":\"\",\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"end_1760595785633\",\"name\":\"结束\",\"type\":\"END\",\"position\":{\"x\":678,\"y\":322},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":null}],\"flows\":[{\"id\":\"flow_1760595687656\",\"name\":\"\",\"from\":\"start_1760595680371\",\"to\":\"conditional_branch_1760595684266\",\"condition\":null},{\"id\":\"flow_1760595702655\",\"name\":\"\",\"from\":\"conditional_branch_1760595684266\",\"to\":\"approval_1760595692053\",\"condition\":\"${field_input_5vm3s66k0 != \'李四\'}\"},{\"id\":\"flow_1760595705084\",\"name\":\"\",\"from\":\"conditional_branch_1760595684266\",\"to\":\"approval_1760595693836\",\"condition\":\"${field_input_5vm3s66k0 == \'李四\'}\"},{\"id\":\"flow_1760595787643\",\"name\":\"\",\"from\":\"approval_1760595692053\",\"to\":\"end_1760595785633\",\"condition\":null},{\"id\":\"flow_1760595791645\",\"name\":\"\",\"from\":\"approval_1760595693836\",\"to\":\"end_1760595785633\",\"condition\":null}],\"businessType\":2,\"businessFormId\":\"06327a1aec4c676b50043db53a168888\",\"systemFormKey\":null,\"priority\":null}', 1, '', '2025-10-16 14:23:28', '2025-10-16 14:23:28', 2, '06327a1aec4c676b50043db53a168888', NULL, 0);
INSERT INTO `wf_process_definition` (`id`, `name`, `key`, `version`, `json_def`, `status`, `description`, `create_time`, `update_time`, `business_type`, `business_form_id`, `system_form_key`, `priority`) VALUES ('fadd85b65bc31cd01fe0352442176d63', '流程测试系统订单表', 'process_1758861157953', 1, '{\"id\":\"fadd85b65bc31cd01fe0352442176d63\",\"name\":\"流程测试系统订单表\",\"key\":\"process_1758861157953\",\"description\":\"\",\"variables\":[{\"name\":\"id\",\"type\":\"number\",\"label\":\"主键标识\",\"required\":false,\"defaultValue\":\"\"},{\"name\":\"orderNo\",\"type\":\"string\",\"label\":\"订单号\",\"required\":false,\"defaultValue\":\"\"},{\"name\":\"orderName\",\"type\":\"string\",\"label\":\"订单名称\",\"required\":false,\"defaultValue\":\"\"},{\"name\":\"orderCount\",\"type\":\"string\",\"label\":\"订单数量\",\"required\":false,\"defaultValue\":\"\"}],\"nodes\":[{\"id\":\"start_1758861160127\",\"name\":\"开始\",\"type\":\"START\",\"position\":{\"x\":50,\"y\":50},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"approval_1758861162241\",\"name\":\"审批节点\",\"type\":\"APPROVAL\",\"position\":{\"x\":369,\"y\":50},\"assigneeType\":\"FIXED\",\"assignee\":\"3\",\"formKey\":\"\",\"allowReject\":true,\"priority\":2,\"defaultFlow\":null},{\"id\":\"end_1758861164469\",\"name\":\"结束\",\"type\":\"END\",\"position\":{\"x\":699,\"y\":50},\"assigneeType\":null,\"assignee\":null,\"formKey\":null,\"allowReject\":true,\"priority\":2,\"defaultFlow\":null}],\"flows\":[{\"id\":\"flow_1758861167678\",\"name\":\"\",\"from\":\"start_1758861160127\",\"to\":\"approval_1758861162241\",\"condition\":null},{\"id\":\"flow_1758861179637\",\"name\":\"\",\"from\":\"approval_1758861162241\",\"to\":\"end_1758861164469\",\"condition\":null}],\"businessType\":1,\"businessFormId\":null,\"systemFormKey\":\"zapi_flow_test_order\",\"priority\":null}', 1, '', '2025-09-26 12:33:21', '2025-09-29 17:22:32', 1, NULL, 'zapi_flow_test_order', 0);
COMMIT;

-- ----------------------------
-- Table structure for wf_process_instance
-- ----------------------------
DROP TABLE IF EXISTS `wf_process_instance`;
CREATE TABLE `wf_process_instance` (
  `id` varchar(64) NOT NULL COMMENT '实例ID',
  `process_def_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '关联流程定义ID',
  `process_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '流程标识',
  `business_key` varchar(64) DEFAULT NULL COMMENT '业务关联ID（如订单ID）',
  `status` tinyint DEFAULT NULL COMMENT '状态：1-运行中 2-已结束 3-已暂停',
  `variables` text COMMENT '流程变量（JSON格式）',
  `current_node_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '当前节点ID',
  `start_user` varchar(64) DEFAULT NULL COMMENT '发起人',
  `start_time` datetime DEFAULT CURRENT_TIMESTAMP,
  `end_time` datetime DEFAULT NULL COMMENT '结束时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_process_def` (`process_def_id`),
  KEY `idx_business_key` (`business_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='流程实例表';

-- ----------------------------
-- Records of wf_process_instance
-- ----------------------------
BEGIN;
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('03f17e9125f1689a752a4bf8e7d0403f', '4280ac1af6a30e53cd9e387e998a6feb', 'process_1759109349404', '1972588759740329985', 2, '{\"field_input_8cnzsieaq\":\"1212\",\"field_textarea_xwodq2zb2\":\"12121\",\"id\":1972588759740329985,\"is_deleted\":0,\"create_time\":\"2025-09-29T17:06:23.913\",\"create_user\":\"external_api\",\"action\":\"approve\",\"comment\":\"111\"}', 'end_1759109358444', '1', '2025-09-29 17:06:24', '2025-10-14 14:14:16', '2025-10-14 14:14:16');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('40e6a5d44045729857d0405facbc2575', 'fadd85b65bc31cd01fe0352442176d63', 'process_1758861157953', '19', 2, '{\"id\":19,\"orderNo\":\"ORD20250929757503\",\"orderName\":\"909090\",\"orderCount\":8,\"action\":\"approve\",\"comment\":\"niubi\"}', 'end_1758861164469', '1', '2025-09-29 17:22:48', '2025-09-29 17:23:26', '2025-09-29 17:23:26');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('5ebf3c3941be663f7846454c06f329c1', 'fadd85b65bc31cd01fe0352442176d63', 'process_1758861157953', '21', 2, '{\"id\":21,\"orderNo\":\"ORD20251024109299\",\"orderName\":\"333333\",\"orderCount\":5,\"action\":\"approve\",\"comment\":\"dsafdsafsdafs\"}', 'end_1758861164469', '1', '2025-10-24 15:48:35', '2025-10-24 15:49:21', '2025-10-24 15:49:21');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('75c27ae7c420a6c1a0af7ffe0a07e537', '4280ac1af6a30e53cd9e387e998a6feb', 'process_1759109349404', '1977981366792417281', 2, '{\"field_input_8cnzsieaq\":\"李四\",\"field_textarea_xwodq2zb2\":\"李四去审批\",\"id\":\"1977981366792417281\",\"is_deleted\":0,\"create_time\":\"2025-10-14T14:14:41.625\",\"create_user\":\"external_api\"}', 'approval_1759109352961', '1', '2025-10-14 14:14:42', '2025-10-14 14:16:13', '2025-10-14 14:14:42');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('a554b707c58a0fd48f38775c63e3e094', '4280ac1af6a30e53cd9e387e998a6feb', 'process_1759109349404', '1972608240453693442', 2, '{\"field_input_8cnzsieaq\":\"666\",\"field_textarea_xwodq2zb2\":\"666\",\"id\":\"1972608240453693442\",\"is_deleted\":0,\"create_time\":\"2025-09-29T18:23:48.478\",\"create_user\":\"external_api\",\"action\":\"approve\",\"comment\":\"2222\"}', 'end_1759109358444', '1', '2025-09-29 18:23:49', '2025-10-14 14:13:33', '2025-10-14 14:13:33');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('a777a81748eea55be2eee5392d5ae9ca', 'b1d65f21891143e0eb195e50c71cceb4', 'process_1760595674611', '1978708571952549890', 2, '{\"field_input_5vm3s66k0\":\"222\",\"field_textarea_ny9feh80r\":\"222\",\"field_select_qz6ctxlsn\":\"1\",\"id\":\"1978708571952549890\",\"is_deleted\":0,\"create_time\":\"2025-10-16T14:24:20.846\",\"create_user\":\"external_api\",\"action\":\"approve\",\"comment\":\"111\"}', 'end_1760595785633', '1', '2025-10-16 14:24:21', '2025-10-17 12:27:39', '2025-10-17 12:27:39');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('ac95b01d41453abf75de0616d8586e95', 'b1d65f21891143e0eb195e50c71cceb4', 'process_1760595674611', '1978708455640305666', 1, '{\"field_input_5vm3s66k0\":\"111\",\"field_textarea_ny9feh80r\":\"111\",\"field_select_qz6ctxlsn\":\"2\",\"id\":\"1978708455640305666\",\"is_deleted\":0,\"create_time\":\"2025-10-16T14:23:53.115\",\"create_user\":\"external_api\"}', 'approval_1760595692053', '1', '2025-10-16 14:23:53', NULL, '2025-10-16 14:23:53');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('af2560c3aea642d750475367f99e6d4e', '4280ac1af6a30e53cd9e387e998a6feb', 'process_1759109349404', '1972473851119955970', 2, '{\"field_input_8cnzsieaq\":\"张三\",\"field_textarea_xwodq2zb2\":\"11111\",\"id\":1972473851119955970,\"is_deleted\":0,\"create_time\":\"2025-09-29T09:29:47.561\",\"create_user\":\"external_api\"}', 'approval_1759109352961', '1', '2025-09-29 09:29:48', '2025-09-29 09:30:03', '2025-09-29 09:29:48');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('d231f898b5c0260d759b8a69a2d0fdde', 'fadd85b65bc31cd01fe0352442176d63', 'process_1758861157953', '20', 2, '{\"id\":20,\"orderNo\":\"ORD20251002685018\",\"orderName\":\"456\",\"orderCount\":1,\"action\":\"approve\",\"comment\":\"1111\"}', 'end_1758861164469', '1', '2025-10-02 20:38:10', '2025-10-14 14:13:28', '2025-10-14 14:13:28');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('d4fbb404d90de529c0aca5d642c3389b', 'fadd85b65bc31cd01fe0352442176d63', 'process_1758861157953', '18', 2, '{\"id\":18,\"orderNo\":\"ORD20250928320933\",\"orderName\":\"采购苹果全家桶\",\"orderCount\":10,\"action\":\"approve\",\"comment\":\"要的 ，要是少了，继续采购\"}', 'end_1758861164469', '1', '2025-09-28 14:02:43', '2025-09-28 14:06:30', '2025-09-28 14:06:30');
INSERT INTO `wf_process_instance` (`id`, `process_def_id`, `process_key`, `business_key`, `status`, `variables`, `current_node_id`, `start_user`, `start_time`, `end_time`, `update_time`) VALUES ('eaa95eec270d7aae9e1c78198e94dbd9', '4280ac1af6a30e53cd9e387e998a6feb', 'process_1759109349404', '1972592402816315393', 2, '{\"field_input_8cnzsieaq\":\"99999\",\"field_textarea_xwodq2zb2\":\"99999\",\"id\":1972592402816315393,\"is_deleted\":0,\"create_time\":\"2025-09-29T17:20:52.489\",\"create_user\":\"external_api\"}', 'approval_1759109352961', '1', '2025-09-29 17:20:53', '2025-09-29 17:21:25', '2025-09-29 17:20:53');
COMMIT;

-- ----------------------------
-- Table structure for wf_task
-- ----------------------------
DROP TABLE IF EXISTS `wf_task`;
CREATE TABLE `wf_task` (
  `id` varchar(64) NOT NULL COMMENT '任务ID',
  `process_instance_id` varchar(64) NOT NULL COMMENT '关联流程实例ID',
  `node_id` varchar(64) NOT NULL COMMENT '关联节点ID',
  `node_name` varchar(255) NOT NULL COMMENT '节点名称',
  `assignee` varchar(64) NOT NULL COMMENT '处理人',
  `status` tinyint NOT NULL COMMENT '状态：1-待处理 2-已完成 3-已驳回',
  `priority` tinyint DEFAULT '3' COMMENT '优先级：1-高 2-中 3-低',
  `variables` text COMMENT '任务变量（JSON格式）',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `complete_time` datetime DEFAULT NULL COMMENT '完成时间',
  `complete_user` varchar(64) DEFAULT NULL COMMENT '完成人',
  `comment` varchar(512) DEFAULT NULL COMMENT '处理意见',
  PRIMARY KEY (`id`),
  KEY `idx_process_instance` (`process_instance_id`),
  KEY `idx_assignee_status` (`assignee`,`status`) COMMENT '查询个人待办任务'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='任务表';

-- ----------------------------
-- Records of wf_task
-- ----------------------------
BEGIN;
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('0484e9f092305dac602bd1ff575d437b', '03f17e9125f1689a752a4bf8e7d0403f', 'approval_1759109352961', '审批节点', '2', 2, 2, NULL, '2025-09-29 17:06:24', '2025-10-14 14:14:16', '2', '111');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('56a28c6285be6eff9b7331048a6f7d3a', 'd231f898b5c0260d759b8a69a2d0fdde', 'approval_1758861162241', '审批节点', '3', 2, 2, NULL, '2025-10-02 20:38:10', '2025-10-14 14:13:28', '3', '1111');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('7b0ced80d8364d804c0bb60b81e71f48', '75c27ae7c420a6c1a0af7ffe0a07e537', 'approval_1759109352961', '李四审批', '3', 3, 2, NULL, '2025-10-14 14:14:42', '2025-10-14 14:16:13', '3', '不同意  你说审就审批啊');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('9e963eda204c3c700c7dce06f9653c1c', 'af2560c3aea642d750475367f99e6d4e', 'approval_1759109352961', '审批节点', '1', 3, 2, NULL, '2025-09-29 09:29:48', '2025-09-29 09:30:03', '1', '不同意');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('a7f6c79f2e9a4a796115746a88042507', 'eaa95eec270d7aae9e1c78198e94dbd9', 'approval_1759109352961', '审批节点', '3', 3, 2, NULL, '2025-09-29 17:20:53', '2025-09-29 17:21:25', '3', '00000');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('bcee1fbd75d1f3c75978c4639fc4911b', '5ebf3c3941be663f7846454c06f329c1', 'approval_1758861162241', '审批节点', '3', 2, 2, NULL, '2025-10-24 15:48:35', '2025-10-24 15:49:21', '3', 'dsafdsafsdafs');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('c9a4b4bf3299593d9327f150a79a506f', 'ac95b01d41453abf75de0616d8586e95', 'approval_1760595692053', '自选审批节点', '2', 1, 2, NULL, '2025-10-16 14:23:53', NULL, NULL, NULL);
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('d3a297a9b1fb01c18497fb2ad8b6f198', '40e6a5d44045729857d0405facbc2575', 'approval_1758861162241', '审批节点', '3', 2, 2, NULL, '2025-09-29 17:22:48', '2025-09-29 17:23:26', '3', 'niubi');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('f3b782d6ae8928d41485cd44bda4ba06', 'a554b707c58a0fd48f38775c63e3e094', 'approval_1759109352961', '审批节点', '3', 2, 2, NULL, '2025-09-29 18:23:49', '2025-10-14 14:13:33', '3', '2222');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('f6c36a1575f752c3d529da584f7959e8', 'a777a81748eea55be2eee5392d5ae9ca', 'approval_1760595692053', '自选审批节点', '1', 2, 2, NULL, '2025-10-16 14:24:21', '2025-10-17 12:27:39', '1', '111');
INSERT INTO `wf_task` (`id`, `process_instance_id`, `node_id`, `node_name`, `assignee`, `status`, `priority`, `variables`, `create_time`, `complete_time`, `complete_user`, `comment`) VALUES ('fec442e78ecc5c1542d81e9cb7879a7c', 'd4fbb404d90de529c0aca5d642c3389b', 'approval_1758861162241', '审批节点', '1', 2, 2, NULL, '2025-09-28 14:02:43', '2025-09-28 14:06:30', '1', '要的 ，要是少了，继续采购');
COMMIT;

-- ----------------------------
-- Table structure for zapi_flow_test_order
-- ----------------------------
DROP TABLE IF EXISTS `zapi_flow_test_order`;
CREATE TABLE `zapi_flow_test_order` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '订单ID，主键，自增长',
  `order_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '订单号，订单的唯一标识，例如：ORD20241226001',
  `order_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '订单名称，订单的显示名称，例如：测试订单001',
  `order_count` int NOT NULL COMMENT '订单数量，订单包含的商品数量',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_order_no` (`order_no`) COMMENT '订单号唯一索引',
  KEY `idx_order_name` (`order_name`) COMMENT '订单名称索引，用于模糊查询'
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='流程测试订单表';

-- ----------------------------
-- Records of zapi_flow_test_order
-- ----------------------------
BEGIN;
INSERT INTO `zapi_flow_test_order` (`id`, `order_no`, `order_name`, `order_count`) VALUES (18, 'ORD20250928320933', '采购苹果全家桶', 10);
INSERT INTO `zapi_flow_test_order` (`id`, `order_no`, `order_name`, `order_count`) VALUES (19, 'ORD20250929757503', '909090', 8);
INSERT INTO `zapi_flow_test_order` (`id`, `order_no`, `order_name`, `order_count`) VALUES (20, 'ORD20251002685018', '456', 1);
INSERT INTO `zapi_flow_test_order` (`id`, `order_no`, `order_name`, `order_count`) VALUES (21, 'ORD20251024109299', '333333', 5);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
